Press "Enter" to skip to content

Video Tag Examples in HTML

Last updated on October 4, 2019

Definition :

  • This is a tag which is meant for loading the content which is of video format from local machine

Program :

<html>

    <body>

                    <video width=”300″ height=”250″ controls>

                                    <source src=”movie.mp4″ title=”video/mp4″>

                                                <source src=”movie.ogg” title=”video/ogg”>

                                </video>

                </body>

</html>

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *