HTML5 Video Tag
Video Tag
Before HTML5, there was no standard for playing video files on a web page. The HTML5 video tag specifies a standard for embedding video on a web page. It creates a video player inside the webpage. There is only one way to use video on the webpage and that is to use a source tag inside the video element.
Attribute information:-
- The controls attributes are used to give the user access to play/pause the music along with more functionalities.
- The loop attribute is used to replay the audio automatically.
- The autoplay attribute will play the audio automatically and the user does not need to start it.
Syntax:-
Its syntax is:- < video >