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

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


Loop attribute helps the audio will start over again, 

every time it is finished.


Example of loop attribute with <audio> tag in HTML


<body>


<audio controls loop>

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

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


</audio>

</body>



Comments

Last 7 Days

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

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

How to use the datalist tag in HTML?

Why TD is used in HTML?

How to use string in Solidity programming language ?

How to use Local Variable for whose values are present till function is executing in solidity ?