HTML muted Attribute

Last Updated : 29 May, 2026

The HTML muted attribute is used to disable the audio output of media elements by default. It is commonly applied to audio and video elements to start playback without sound.

  • Mutes the audio of a media element by default.
  • Can be used with both <audio> and <video> elements.
  • Often combined with attributes such as autoplay, loop, and controls.

Syntax: 

<video muted>

Supported Element

Example: Demonstrate the muted attribute in a <video> element, which mutes the audio. It includes two video sources and provides controls for playback.

html
<!--Driver Code Starts-->
<!DOCTYPE html>
<html>

<head>
    <title>
        HTML muted Attribute
    </title>
</head>

<!--Driver Code Ends-->

<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>

<!--Driver Code Starts-->

</html>

<!--Driver Code Ends-->
Comment