HTML
Example
A video element set to loop:
Try it »
Browser support





All major browsers support the loop attribute.
Note: Internet Explorer 8 and earlier IE versions are not supported.
Definition and Usage
The loop attribute is a boolean attribute.
The loop attribute specifies that the video should start playing again when it ends.
If this attribute is set, the video will play in a loop.
Differences between HTML 4.01 and HTML5
Differences between HTML and XHTML
In XHTML, attributes cannot be abbreviated, so the loop attribute must be defined as
HTML