CBSE Class 10 Computer Applications Question 24 of 31

Solved 2024 Sample Question Paper CBSE Class 10 Computer Applications (165) — Question 2

Back to all questions
2
Question

Question 21

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.

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>