Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

HTML <audio> muted Attribute

The muted attribute on a <audio> element mutes (silences) the audio.

The audio file can be played, but without sound.

Example

#

A muted attribute on a <audio> element.
The audio can be played, but without sound.

<audio controls muted>
  <source src="/media/epic.mp3" type="audio/mpeg">
  <source src="/media/epic.wav" type="audio/wav">
</audio>

Using muted

The muted attribute mutes (silences) the audio control.

Pressing the start button will play the audio file, but without sound.

To get sound back, click the mute button (to unmute), or remove the muted attribute.


Syntax

<audio muted>

Browser support

Here is when muted support started for each browser:

Chrome
4.0 Jan 2010
Firefox
11.0 Mar 2012
IE/Edge
10.0 Sep 2012
Opera
11.5 Aug 2011
Safari
7.1 Sep 2014

You may also like

 Back to <audio>

Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides