Adding Videos in a Webpage


What's cooler than a photo? A video! The HTML video element can add video to a webpage.Let's take a look at them:

Example:<video width="320" height="240" controls>
<source src="video-url.mp4" type="video/mp4"></video>
TAP THE PLAY BUTTON.



The video element uses a number of attributes. Let's take a look at them:
width and height: Set the size of the screen that displays the video.

controls: Adds play, pause and volume control.

source src: Sets the URL of the video to play.
type: Specifies different video formats.
This Our Result is.