热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

Chapter 7

Multimedia, Audio, Video, Embeds, Figures, and Rich Content

Add media responsibly using modern HTML elements while keeping usability, accessibility, and performance in mind.

Inside this chapter

  1. Media on the Web
  2. Audio and Video Basics
  3. Figure and Figcaption
  4. Embeds and External Content
  5. Accessibility and Captions
  6. Practical Example

Series navigation

Study the chapters in order for the clearest path from HTML basics and document structure to semantics, accessibility, SEO, maintainability, and advanced markup practice. Use the navigation at the bottom to move smoothly through the full tutorial series.

Tutorial Home

Chapter 7

Media on the Web

Modern HTML supports images, audio, video, and embedded resources directly. Students should understand that rich media affects not only user experience, but also accessibility, bandwidth, loading performance, and content structure.

Chapter 7

Audio and Video Basics

<audio controls>
  <source src="podcast.mp3" type="audio/mpeg" />
</audio>

<video controls width="640">
  <source src="demo.mp4" type="video/mp4" />
</video>
Chapter 7

Figure and Figcaption

<figure>
  <img src="chart.png" alt="Revenue growth chart" />
  <figcaption>Quarterly revenue growth from Q1 to Q4</figcaption>
</figure>

This pairing helps present visual content with explanatory meaning.

Chapter 7

Embeds and External Content

Sometimes pages embed maps, videos, documents, or external widgets. Students should understand that external embeds can affect performance, privacy, and maintainability.

Chapter 7

Accessibility and Captions

Media should be supported by captions, transcripts, alternative descriptions, or fallback text when appropriate. Rich content that excludes users is not high-quality content.

Chapter 7

Practical Example

An online training page may include an instructional video, downloadable PDF, figure captions for diagrams, and an audio snippet for pronunciation examples. Strong HTML helps organize and label all of that meaningfully.

版权所有 © 2026,WithoutBook。