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 referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

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

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

How to add Amazon website inside iframe?

How to use comments in Solidity programming language ?

How to use string in Solidity programming language ?

How to use arrays in Solidity programming language ?