HTML
Example
Set the audio to loop playback:
Try it »
Browser support





Internet Explorer 9+, Firefox, Opera, Chrome, and Safari browsers support the loop attribute.
Note: Not supported by Internet Explorer 8 and earlier IE browsers
Definition and Usage
The loop attribute is a boolean attribute.
If this attribute is set, the audio will play in a loop.
Differences between HTML 4.01 and HTML5
Differences between HTML and XHTML
In XHTML, shorthand is not allowed for this attribute; the loop attribute must be defined as
HTML