0 votes
100 views
in HTML by (3.5k points)
edited

How to add video in HTML?

1 Answer

0 votes
by (3.5k points)
edited

The HTML <video> element is used to show a video on a web page.

<video width="320" height="240" controls>

  <source src="movie.mp4" type="video/mp4">

  <source src="movie.ogg" type="video/ogg">

Your browser does not support the video tag.

</video>

Related questions

0 votes
1 answer 96 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 109 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 88 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 134 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 105 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 102 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...