
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
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. |
Advertisements