/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: controls

[this page | pdf | back links]

The HTML controls attribute indicates whether <audio> and <video> controls (such as play and pause buttons) should be displayed.

 

Valid attribute values (when used with <audio> and <video> elements) include:

 

Value

Description

controls

Controls should be displayed (e.g. play / pause button, fast forward etc.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile