Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to mute audio using HTML5 ?

  • Last Updated : 14 Jul, 2020

In this article, we mute the audio by using the muted attribute in the <audio> tag of the HTML document. It is used to define that the audio should be muted on the webpage.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

<audio controls muted>


<!DOCTYPE html> 
        How to mute an audio using HTML5?
       How to mute an audio using HTML5?
    <p>Audio Sample</p
    <audio controls muted> 
        <source src="test.mp3" type="audio/mp3"
        <source src="test.ogg" type="audio/ogg"


Supported browsers are listed below:

  • Google Chrome 4.0
  • Internet Explorer 9.0
  • Firefox 3.5
  • Opera 10.5
  • Safari 4.0
My Personal Notes arrow_drop_up
Recommended Articles
Page :