How to insert Video and Audio in HTML Page.

 


Hello everyone in the previous blog we learned about what is HTML and CSS. Now today we will learn about how to add video and audio files to HTML web pages. Here is an HTML tag to add video and it looks like this <video></video>.

Here is the Code of the HTML File to add Video

<!doctype html>
<html>
    <head>
        <title>How to insert Video and
        Audio in HTML Page</title>
    </head>
    <body>
        <video src="Your Vidoe URL" controls="Video"></video>
    </body>
</html>

Here is the Code of the HTML File to add Audio

<!doctype html>
<html>
    <head>
        <title>How to insert Video and
        Audio in HTML Page</title>
    </head>
    <body>
        <audio src="Your audio URL" controls="Audio"></audio>
    </body>
</html>

Here is our Youtube Video



Please Comment Down Your Feedback

Thanks For Visiting our Blog

Post a Comment

Previous Post Next Post