How to use < audio > tag with muted attribute in HTML with Example

How to use < audio > tag with muted attribute in HTML with Example 


 The muted attribute is a boolean attribute.

it is used for  audio output should be muted.



Example of muted attribute with < audio > tag in HTML


<body>

<audio controls muted>

  <source src="tiger.ogg" type="audio/ogg">

  <source src="tiger.mp3" type="audio/mpeg">

</audio>

</body>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Smart contract code for Anyone can send coins to each other without a need for registering with a username and password with help of Ethereum keypair

How to use < img > tag with usemap attribute in HTML ? with Example

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

How to use sandbox attribute value ( allow-top-navigation) with < iframe > tag in HTML ? with example