- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Attributes of HTML
The following are the attributes of a <video> element:
Attribute | Description |
---|---|
autoplay | This boolean attribute if specified, the video will automatically begin to playback as soon as it can do so without stopping to finish loading the data. |
autobuffer | This boolean attribute if specified, the video will automatically begin buffering even if it's not set to automatically play. |
controls | If this attribute is present, it will allow the user to control video playback, including volume, seeking, and pause/resume playback. |
height | This attribute specifies the height of the video's display area, in CSS pixels. |
loop | This boolean attribute if specified will allow video automatically seek back to the start after reaching at the end. |
preload | This attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present. |
poster | This is a URL of an image to show until the user plays or seeks. |
src | The URL of the video to embed. This is optional; you may instead use the <source> element within the video block to specify the video to embed |
width | This attribute specifies the width of the video's display area, in CSS pixels. |
- Related Articles
- HTML Attributes
- How to remove all the attributes of an HTML element using jQuery?
- How to add attributes to an HTML element in jQuery?
- HTML data-* Attributes
- HTML DOM attributes Property
- Attributes and usage of element in HTML5
- Attributes and usage of element in HTML5
- How to add and remove HTML attributes with jQuery?
- How to use height and width attributes in HTML?
- How to use min and max attributes in HTML?
- How do we include attributes for table columns in HTML?
- How do we embed custom data attributes on all HTML elements?
- What is the difference between id and name attributes in HTML?
- What are the attributes that work differently between React and HTML?
- Explain attributes and the different types of attributes in DBMS?

Advertisements