A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-muted-attribute/ below:

HTML muted Attribute - GeeksforGeeks

HTML muted Attribute

Last Updated : 12 Jul, 2025

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: In this example, we demonstrate the muted attribute in a <video> element, which mutes the audio. It includes two video sources and provides controls for playback.
 

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: 



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4