HTML CSS Reference/HTML Attributes Reference/loop — различия между версиями

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

Версия 09:21, 26 мая 2010

"loop" Example

    
<HTML>
<head><Title>Example For loop</Title></head>
<BODY>
<marquee bgcolor="#99ffff" loop="-1">www.wbex.ru</marquee>
</BODY>
</HTML>



loop is applied to

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



"loop" Syntax and Note

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.
    
Syntax:
    
<element loop="value"> . . . </element>