
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
How to add video in HTML page?
To add a video in an HTML page, use the <video> element. It specifies a standard way to embed a video in HTML. Just keep in mind to add height and width to the video. Use the source element to add the source of the video, with the src attribute and the type of video with the type attribute.
The HTML <video> tag also supports the following additional attributes −
Attribute | Value | Description |
height | pixels | Specifies the height. |
src | URL | Specifies the address of the source file. |
type | MIME_type | Specifies the MIME type. |
width | pixels | Specifies the width. |
- Related Articles
- How to avoid repeat reloading of HTML video on the same page?
- How to add a base font in a HTML page?
- How can I add video to site background in HTML 5?
- How to add a button to print an HTML page?
- How to add an element horizontally in HTML page using JavaScript?
- How to add video chapters in YouTube video description
- How to make page links in HTML Page?
- How to add Google map inside html page without using API key?
- How to add subtitles in video using Video.js?
- How to add a Video Player in ReactJS?
- How to Add Video to your Facebook Comment?
- How to add YouTube video to Google slides?
- How to link jQuery in HTML page?
- How to draw circle in HTML page?
- How to create headings in HTML page?

Advertisements