HTML controls Attribute: This attribute is defined as a boolean attribute. When the control attribute is present it should specify that audio or video controls should be displayed. The <video> and <audio> tag has not been defined in HTML 4. The <video> and <audio> tag is added newly in HTML5.
HTML controls Attribute
This attribute should include play, seeking, volume, pause, subtitles, track, fullscreen toggle, etc. And it can be applied to the following elements like <audio>,<video>.
Syntax: <video controls >
Browser Support
This attribute is supported by the following browsers :
- Chrome – 4.0
- Firefox – 3.5
- Opera – 10.5
- Safari – 4.0
- Internet Explorer – 9.0