Easy Tutorial
❮ Att Meta Http Equiv Ev Ondblclick ❯

HTML <audio> controls Attribute

HTML <audio> Tag

Example

An <audio> element with the browser's default controls:


Browser Support

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the controls attribute.

Note: Internet Explorer 8 and earlier versions do not support the <audio> tag.


Definition and Usage

The controls attribute is a boolean attribute.

Audio/video controls include:


Differences Between HTML 4.01 and HTML5

The <audio> element is new in HTML5.


Differences Between HTML and XHTML

In XHTML, the attribute cannot be abbreviated; the controls attribute must be defined as <audio controls="controls">.


Syntax


HTML <audio> Tag

❮ Att Meta Http Equiv Ev Ondblclick ❯