HTML for Beginners Tutorial#29- Adding Video to Web Page

  • 6 years ago
HTML for Beginners Tutorial#29- Adding Video to Web Page


In this Tutorial we are going to talk about Audio Element in HTML5.

The AUDIO element is new in HTML5.

height , width , src, controls , source are attributes , in this tutorial we are just talking about VIDEO element with a simple example , about other attributes we will talk in later video.

How VIDEO Element works:

The controls attribute adds video controls, like play, pause, and volume.
For sizing and resizing , include width and height attributes. If height and width are not set, the page might sparkle while the video loads.
The element allows to specify alternative video files which the browser may choose from. The browser will use the first recognized format.
The text between the and tags will only be displayed in browsers that do not support the element.

For video element your browser should latest version.