HTML and video and muted properties

HTML video muted property HTML and video. Tags

The muted property is used to indicate whether audio in a Web page is muted and, if set, audio is initially muted; In the following example, we mute the video:

Turn off the sound of the video:

<video controls muted>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

Try it out . . .

Browser support

HTML video muted property HTML video muted property HTML video muted property HTML video muted property HTML video muted property

Internet Explorer 10, Firefox, Opera, Chrome, and Safari 6 support muted properties.

Note: Internet Explorer 9 and earlier versions of IE do not support the muted properties of .


Definitions and usages

The muted property is a boolean (Boolean) property.

Whether the muted property sets or returns audio/video should be muted (turn off sound).


The difference between HTML 4.01 and HTML5

The label is a new HTML5 label.


The difference between HTML and XHTML

In XHTML, the property does not allow short writing, and the muted property must be defined as the "muted" of the .lt;video muted.


Grammar

<video muted>


HTML video muted property HTML and video. Tags