English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML audio muted attribute is a boolean attribute. When present, it specifies that the audio output should be muted
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 ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 10Firefox, Opera, and Chrome support the muted attribute.
Note: Internet Explorer 9 and earlier versions do not support the muted attribute.
The muted attribute is a boolean attribute.
exists, it specifies that the audio output should be muted.
The <audio> attribute is an HTML 5 new attributes.
In XHTML, attribute shorthand is not allowed, the muted attribute must be defined as <audio muted="muted">.
<audio muted>