/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: loop

[this page | pdf | back links]

The HTML loop attribute specifies whether an <audio> or <video> element is to start over again when it finishes.

 

Valid attribute values (when used with <audio> and <video> elements) include:

 

Value

Description

loop

Media to start over again each time it finishes

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile