video
A video file in HTML can be embedded on a webpage using the <video> element. The src attribute is used to specify the source of the video file, which can be a URL or a relative file path.
Here is an example of how to embed a video file on a webpage:
<video width="320" height="240" controls>
<source src="video/example.mp4" type="video/mp4">
<source src="video/example.webm" type="video/webm">
Your browser does not support the video element.
</video>
In this example, the <video> element is used to embed the video file, with the width and height attributes to specify the size of the video player. The controls attribute is used to display the video controls (play, pause, volume, etc). The <source> elements are used to specify the source of the video file. In this case, two sources are provided, one in mp4 format and another in webm format. The type attribute is used to specify the video file format. The text between the <video> tags is displayed in case the browser doesn't support the video element.