Basic Syntax
To include a video on your webpage, use the following syntax:
<video src="" controls> </video>
- The src attribute specifies the URL of the video file.
- The controls attribute adds default video controls (play, pause, volume, etc.).
HTML Video
The <video> element in HTML allows you to embed video content directly into web pages. It supports various video formats, including MP4, WebM, and Ogg. In this guide, we’ll learn about the key features of HTML5 video. video and audio tags are introduced in HTML5.
Contact Us