You are here: Reference > HTML > attributes > loop (marquee)

loop attribute (marquee)

Browser support:
Specifies the number of times a marquee is to be played.
JavaScript page for this attribute: loop. You can find other example(s) there.

Possible values:

Integer that sets the number of repeats. The 0 and -1 values mean endless repetition. Other negative values are not allowed.
Default: -1.

Example HTML code 1:

This example illustrates the use of the loop attribute:
<marquee id="myMarquee" scrollamount="30" loop="1">Hi There!</marquee>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content