HTML CSS Reference/HTML Attributes Reference/loop

Материал из Web эксперт
Перейти к: навигация, поиск

"loop" Example

<head><Title>Example For loop</Title></head>
<marquee bgcolor="#99ffff" loop="-1"></marquee>

loop is applied to

| Applied_To     |<bgsound>                       <img>                         |
|                |<input>                         <input type="image">          |
|                |<marquee>                                                     |

"loop" Syntax and Note

Repeat the video clip, sound clip, or marquee at a specified number of times. 
A value of -1 means that the element continuously repeats while the page is active; 
A value of 0 means that the element loops only one time; 
Any other positive integer indicates the loop times.
<element loop="value"> . . . </element>