asked 143k views
0 votes
What is the correct html element for playing video files?

asked
User Harrolee
by
8.5k points

1 Answer

2 votes
HTML stands for Hyper Text Markup Language. It is the most commonly language used for creating web pages and web applications.

The correct HTML element for playing video files is <video>.
To show a video in HTML, use the <video> element:Example:<video width="320" height="240" controls>
<source src="video 1.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</video>
answered
User Bentley
by
8.5k points

No related questions found