html tutorial - muted Attribute in HTML - html5 - html code - html form



Muted attribute in html

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

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

  1. 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)

Related Searches to mute Attribute in html