html tutorial - muted Attribute in HTML - html5 - html code - html form
![Muted attribute in html](https://www.wikitechy.com/step-by-step-html-tutorials/attributes/img/attributes-images/muted-attribute-in-html.gif)
Learn html - html tutorial - Muted attribute in html - html examples - html programs
- Muted Attribute is said to be a Boolean attribute.
- It specifies the audio output of the video is muted in HTML page.
Syntax for muted attribute in HTML:
<video controls= muted>source file is here...</video>
Sample Coding for muted Attribute in HTML:
Tryit<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" controls muted>
<source src="hibiscus.mp4" type="video/mp4">
</video>
<p>In Internet Explorer 8 video tag is not supported </p>
</body>
</html>
Code Explanation for muted Attribute in HTML:
![muted Attribute Code explanation muted Attribute Code Explanation](https://www.wikitechy.com/step-by-step-html-tutorials/attributes/img/attributes-images/code-explanation-muted-attribute-in-html.png)
- Here the muted attribute is given within the video tag for audio output is in off condition.
Output for muted Attribute in HTML:
![muted Attribute Output muted Attribute Output](https://www.wikitechy.com/step-by-step-html-tutorials/attributes/img/attributes-images/output-muted-attribute-in-html.png)
- The output displays the muted audio track in the given video file.
Browser Support for muted Attribute in HTML:
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
Yes(4.0) | Yes(10.0) | Yes(11.0) | Yes(7.1) | Yes(10.5) |