HTML CSS Reference/HTML Attributes Reference/direction

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

"direction" Example

    
<HTML>
<BODY>
<marquee id="myM" 
         direction="right" 
         behavior="slide" 
         bgcolor="cyan">www.wbex.ru
</marquee>
</BODY>
</HTML>



direction is applied to

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



"direction" Syntax and Note

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>