Marquee Direction |
Direction: Specifies in which direction marquee will scroll. Possible values for this attribute are LEFT or RIGHT
Example:
Code:
<marquee style="font-family:Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="left">This is an example of Marquee</marquee>
Code:
<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="right">This is an example of Marquee</marquee>
Note: Default Direction is left.
Now marquee tag direction we can set to up or down. We can scroll vertically up ward direction or down ward direction
Code:
<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="up">This is an example of Marquee direction = up</marquee>
Code:
<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="down">This is an example of Marquee direction = down</marquee>
HTML Marquee tag for scrolling text
| Marquee Behavior
| Marquee Direction
| Marquee Repeat
| Marquee Speed
|