HTML5 Audio/Video

HTML5 Videos

HTML5 Provides a standard for videos on the web.

Since different browsers may use different plug-ins, a standard is required for videos which is first introduced in HTML5.

HTML5 uses the element <video> to specify the standard way to embed a video.

HTML5 Video Example


<video src="" controls>HTML5 Video is not supported in your browser.</video>
		

Preview

No Videos are added in the "src" attribute so the preview won't play any video.


HTML5 Audios

HTML5 Provides a standard for Audios on the web.

Since different browsers may use different plug-ins, a standard is required for audios which is first introduced in HTML5.

HTML5 uses the element <audio> to specify the standard way to embed a audio.

HTML5 Audio Example


<audio src="" controls>HTML5 Audio is not supported in your browser.</audio>
		

Preview

No Audios are added in the "src" attribute so the preview won't play any audio.


Next Lesson > HTML New Tags