HTML CSS Reference/HTML Attributes Reference/loop

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

"loop" Example

   <source lang="html4strict">
   

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


     </source>
   
  


loop is applied to

   <source lang="html4strict">

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

     </source>
   
  


"loop" Syntax and Note

   <source lang="html4strict">

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>


     </source>