KnowledgeBoat Logo
|

Computer Applications

Rajat, a web developer, wants to show a video named "tiger.mp4" in dimensions of 300px width and 200px height on the web page. Help Rajat by writing its html code.

HTML Advanced Features

19 Likes

Answer

The HTML code to add video to the web page is as follows:

<video width = "300" height = "200" controls>
    <source src = "tiger.mp4" type = "video/mp4">
    Your browser does not support the video tag.
</video>

Answered By

13 Likes


Related Questions