Learn Measure Blog Live About

Add media to a web page

Add media to a web page

Appears in: Media

In this section you'll learn how to embed a media file in a web page using the <video> and <source> tags, and how to add captions to a video for the hearing-impaired.

This section assumes you have an audio or video file that is ready for embedding in a web page. An mov file straight off a camera will not work. If an mov file is all you have, see Prepare media files for the web then come back.

This section covers two topics.

Be sure not to skip the accessibility section. The technical aspects of supporting accessibility are not that difficult. They are also a regulatory or legal requirement in many places.

Last updated: Improve article