English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

Complete list of HTML tags

HTML: <audio> muted attribute

The HTML audio muted attribute is a boolean attribute. When present, it specifies that the audio output should be muted

HTML <audio> tag

Online example

Muted audio:

<!DOCTYPE html>
<html>
<title>HTML:<audio> muted attribute - 基础教程网 oldtoolbag.com</title>
<body>
<audio controls muted>
  <source src="horse.ogg" type="audio/">
  <source src="horse.mp3" type="audio"/mpeg">
  Your browser does not support the audio tag.
</audio>
</body>
</html>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Internet Explorer 10Firefox, Opera, and Chrome support the muted attribute.

Note: Internet Explorer 9 and earlier versions do not support the muted attribute.

Definition and Usage

The muted attribute is a boolean attribute.
exists, it specifies that the audio output should be muted.

HTML 4.01 differences with HTML5differences

The <audio> attribute is an HTML 5 new attributes.

Differences between HTML and XHTML

In XHTML, attribute shorthand is not allowed, the muted attribute must be defined as <audio muted="muted">.

Syntax

<audio muted>

HTML <audio> tag