The Wayback Machine - https://web.archive.org/web/20240314105626/https://www.geeksforgeeks.org/html-muted-attribute/
Open In App

HTML | muted Attribute

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

The HTML muted Attribute is used to specify the audio output of the video is muted, it is a Boolean attribute.
Applicable: 
 

Syntax 
 

<video muted>

Example: 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML muted Attribute
    </title>
</head>
 
<body style="text-align: center">
 
    <h1 style="color:green">
    GeeksforGeeks
</h1>
    <h2 style="font-family:Impact">
    HTML muted Attribute
</h2>
    <br>
 
    <video id="Test_Video"
        width="360"
        height="240"
        controls muted>
 
        <source src="samplevideo.mp4"
                type="video/mp4">
 
        <source src="samplevideo.ogg"
                type="video/ogg">
    </video>
</body>
 
</html>


Output: 
 

Supported Browsers: The browsers supported by HTML muted Attribute are listed below: 
 

  • Google Chrome 4.0
  • Internet Explorer 10.0
  • Firefox 11.0
  • Apple Safari 7.1
  • Opera 10.5

 


Last Updated : 08 Dec, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads