

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 Questions & Answers
- How to avoid repeat reloading of HTML video on the same page?
- How can I add video to site background in HTML 5?
- How to add a base font in a HTML page?
- How to make page links in HTML Page?
- How to Add Video to your Facebook Comment?
- How to add a YouTube Video to your Website?
- How to link jQuery in HTML page?
- How to create headings in HTML page?
- How to create Paragraphs in HTML Page?
- How to Insert Hyperlink in HTML Page?
- How to draw circle in HTML page?
- How to add a base URL for all the links in a page in HTML?
- HTML DOM Video Object
- How to embed a video using HTML code?
- How to include the audio/video controls in HTML?
Advertisements