Tip: For video files, look at the

HTML DOM reference: HTML Audio/Video DOM Reference. Examples might be simplified to improve reading and learning. For more detail, see HTML event handler content attributes. Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes can be added to an HTML element to provide more information about how the element should appear or behave. Specifies the location of the audio file. CORS stands for. tags The

Attributes can specify the actual audio file to play, as well as other options such as whether to play automatically, whether the browser should display the controls or not, etc. Browser, Compatibility, Loop, Mute, Web design terms, Web page. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.

The

This content is displayed only by browsers that don't support the

The

AudioTag.info is a free music recognition service.

You can also specify a value that is a case-insensitive match for the attribute's canonical name, with no leading or trailing whitespace (i.e. supports. Designates that the audio file should be muted. The

Our full list of HTML questions and answers. The

Therefore, the mere presence of this attribute equates to a true value. either controls or controls="controls").

The following attributes are standard across all HTML elements. Specifies whether the audio should be preloaded or not, and if so, how it should be preloaded. An invalid keyword and an empty string will be handled as the anonymous value.