The Media Elements
functionality to run the multimedia files. With the advent of HTML 5, the media elements have eliminated the requirement of installing separate plug-ins to run a video or audio file on a Web page. HTML 5 has introduced new in-built media elements, such as audio and video, which help you to create multimedia-enabled website.
Below given list the new media elements of HTML 5:
Element |
Description |
---|---|
<audio> |
Defines the sound, music and audio content or file to create multimedia-enabled website. |
<video> |
Defines the video content or file or any movie clip to create multimedia-enabled website |
<source> |
Defines the resource of media for media elements, such as audio or video |
<embed> |
Helps in embedding an audio or video file into an HTML document. |
Note: you learn all the above given elements example going far in this tutorial :
Lets’ now learn about the canvas element go on Next Button