How to Insert MP4 Video in HTML

Spread the love

Inserting MP4 videos in our HTML code is easy.

All we have to do is to use the video tag as follows:

<video src='' controls></video>

We have the controls attribute to show the video play controls in our video element.

src has the path to the video. It can be either a URL or a relative path.

Once we have that, we’ll see the video displayed with the play button on the bottom left.

Leave a Reply

Your email address will not be published.

If you like the content of this blog, subscribe to my email list to get exclusive articles not available to anyone else.