HTML Foundations·Practice drills 8

Drill 12: Predict the output — Media and embeds

Describe the output you expect and how you would check it.

Beginner 5 min read Lesson 204 of 480 Challenge included
What you will be able to do
  • Describe the output you expect and how you would check it.

Practice task

Describe the output you expect and how you would check it.

media.htmlHTML
<figure>
  <img
    src="avatar-320.jpg"
    srcset="avatar-320.jpg 320w, avatar-640.jpg 640w"
    sizes="(min-width: 700px) 320px, 90vw"
    width="320"
    height="320"
    alt="Amina Rahman smiling at a desk"
    loading="lazy"
    decoding="async"
  />
  <figcaption>Amina Rahman, learning designer</figcaption>
</figure>

<video controls preload="metadata" poster="cover.jpg">
  <source src="intro.webm" type="video/webm" />
  <source src="intro.mp4" type="video/mp4" />
  <track kind="captions" src="intro.vtt" srclang="en" label="English" default />
</video>

<iframe
  src="https://example.com/embed"
  title="Course preview"
  loading="lazy"
></iframe>
Your turn

Write your answer

Easy

Describe the output you expect and how you would check it.

TEXT · starter
Your answer…
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Lesson 204 of 480 · 0% of course