![]() |
Definition and UsageThe When present, it specifies that the audio will start over again, every time it is finished. Applies toThe
Browser SupportThe |
Example:
HTML
<audio controls loop>
<source src="https://download.samplelib.com/mp3/sample-3s.mp3" type="audio/ogg">
<source src="https://download.samplelib.com/mp3/sample-3s.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Example:
HTML
<video width="320" height="240" controls loop>
<source src="https://www.sample-videos.com/video321/mp4/240/big_buck_bunny_240p_30mb.mp4" type="video/mp4">
<source src="https://www.sample-videos.com/video321/mp4/240/big_buck_bunny_240p_30mb.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>
html loop attribute |
How to add A song that will start over again, every time it is finished | HTML Attribute |
How to add A video that will start over again, every time it is finished | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded: | 6 days ago |
Uploaded by: | Admin |
Views: | 30 |
Reffered: https://www.w3schools.com/tags/att_loop.asp