How do you insert a video in HTML?
In HTML, Video can be inserted using <video>
tag. You need to specify video path in source tag under the <video>
. Also, you can use width and height attributes directly in video tag.
Example of Video in HTML
<video width="600" height="400" controls>
<source src="my-video.mp4" type="video/mp4">
</video>
Learn more about the similar topics:
Tutorials |
---|
No Content Found. |
Exercises & Assignments |
---|
No Content Found. |
Interview Questions & Answers |
---|
No Content Found. |