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 do you give an < image > a tag?

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

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

Why TD is used in HTML?

How to use comments in Solidity programming language ?