HTML Video

HTML Video

Sometimes we have to add videos on our website or on any page of our website, so let’s see how we can add videos to our website with the help of HTML.

Here is the Sample code

<!DOCTYPE html>
<title> adding video in website </title>
<video width="400" height="400" controls>
   <source src="file-name.mp4" type="video/mp4"></source>
   <source src="file-name.ogg" type="video/ogg">

Thanks For Reading

Leave a Reply