HTML Media
Multimedia comes in many different formats, including video and audio.
Table of Contents
Multimedia on the web is sound, music, videos, movies, and animations. The HTML5 standard includes built-in elements to natively play video and audio without plugins.
HTML Audio
The <audio> element is used to play an audio file on a web page.
Preview
HTML Video
The <video> element is used to show a video on a web page.
Preview
The controls attribute adds the native video controls, like play, pause, and volume. It is highly recommended to include width and height attributes.