HTML CSS Reference/HTML Attributes Reference/direction

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

"direction" Example

   <source lang="html4strict">
   

<HTML> <BODY> <marquee id="myM"

        direction="right" 
        behavior="slide" 
        bgcolor="cyan">www.wbex.ru

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


     </source>
   
  


direction is applied to

   <source lang="html4strict">

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

     </source>
   
  


"direction" Syntax and Note

   <source lang="html4strict">

Note:

Specify the scrolling direction of the text in a <marquee> element. Possible values include down, left, right, and up.

Syntax:

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


     </source>