TOP CATEGORIES

×

How to use video tag in HTML?

N

Nitin Singh

Video Tag in HTML

HTML5 provided the facility to use video tags to play videos on the HTML web page. Nowadays almost all modern web browsers support video tags. It offers to set custom height and width with the help of the controls attribute that offers video controls like sound, plays, stops, etc...

Video Tag Example

 <video width="500" height="250" controls>

    <source src="movie.mp4" type="video/mp4">

     <source src="movie.ogg" type="video/Ogg">

</video>

3 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

Gdatamart.com

GDM provides information across a wide range of categories by verifying data from multiple official sources, even though the site is still being developed.

© 2025 GDATAMART.COM (All Rights Reserved)