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

What is a < code > tag?

What is img scr or image scr or scr img ?

How do you create a header for a < table > in HTML?

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

What is the syntax of src Attribute with < img > tag in HTML ?