The HTML video tag is useful when you want to add a video to your web pages. In modern web browsers, adding the video is very easy. You do not need to install any extra plug-in for this. You can add the video by using a <video> tag.

What Is an HTML <video> tag?

An HTML video tag is used to embed video into your web page. The <video> element is used to embed video content in an HTML document without requiring any additional plugin like Flash player. 



The text between the video tag is only displayed in the browsers that do not support the video tag.

Note: Keep the HTML file and the video file that you are going to add in the same folder.

Here's How to Land a Top Software Developer Job

Full Stack Developer - MERN StackExplore Program
Here's How to Land a Top Software Developer Job

Tag-Specific Attributes






It specifies that the video should be played automatically.



It shows the default video controls like play, pause, volume etc.



It specifies the height of the video



It specifies that the video will start again, upon reaching the end.



It specifies that the audio should be muted.



It specifies an image to preview before the loading of the video.


auto, metadata, none

It provides a hint to the browser about what the author thinks will lead to the best user experience.



It specifies the location of the video file to embed



It sets the width of video’s display area

Would You Like to Become a Full-Stack Developer?

This article on the HTML video tag gave you an insight into how you can add a video to your web page. Now that you know the various attributes of the video tag, you can take a step further and learn more about web development. Simplilearn’s  Full Stack Developer Master’s Program Is highly recommended and could act as a catalyst for your coding career. The course will give you the essence of front-end, middleware, and back-end Java web developer technologies. You will learn to build an end-to-end application, test and deploy code, store data using MongoDB, and much more.

If you’re an aspiring web and mobile developer, HTML training will broaden your skills and career opportunities. And in case you have any questions for us, mention it in the comments section, and we'll have our experts answer it for you.

Our Software Development Courses Duration And Fees

Software Development Course typically range from a few weeks to several months, with fees varying based on program and institution.

Program NameDurationFees
Caltech Coding Bootcamp

Cohort Starts: 17 Jun, 2024

6 Months$ 8,000
Automation Test Engineer

Cohort Starts: 29 May, 2024

11 Months$ 1,499
Full Stack Java Developer

Cohort Starts: 4 Jun, 2024

6 Months$ 1,449
Full Stack Developer - MERN Stack

Cohort Starts: 18 Jun, 2024

6 Months$ 1,449