HTML Foundations·Practice drills 9

Drill 14: Recall — Media and embeds

Close the lesson and reproduce the example from memory.

Beginner 5 min read Lesson 236 of 480 Challenge included
What you will be able to do
  • Close the lesson and reproduce the example from memory.

Practice task

Close the lesson and reproduce the example from memory.

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

Close the lesson and reproduce the example from memory.

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 236 of 480 · 0% of course