HTML CSS Reference/HTML Attributes Reference/scrollamount

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

"scrollamount" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For scrollamount</Title></head> <BODY> <marquee behavior="slide" scrollamount="15">

 This marquee has a scrollamount value of 15.

</marquee> </BODY> </HTML>


     </source>
   
  


scrollamount is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<marquee> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"scrollamount" Syntax and Note

   <source lang="html4strict">

Note:

<marquee> element"s move is made by display, hide, and redisplay. This attribute sets how many pixels the text is displaced between hidden and reappear. Default value is 6.

Syntax:

<marquee scrollamount="value"> . . . </marquee>


     </source>