Possible values for this attribute are LEFT or RIGHT
Video Tutorial on HTML Marquee Tag
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" height="80" >This is an example of Marquee direction = up</marquee>
Code:
<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="down" height="80" >This is an example of Marquee direction = down</marquee>
This article is written by plus2net.com team.
plus2net.com
Click for more tutorial on marquee tag for scrolling text
I am happy to arrive at this tutorial site, may God bless u for this wonderful support for new commers like me.
ABDULLAH WASEER
11-09-2015
learn to good
got a good idea
Deepak Prasad
04-11-2015
Is it possible to move marquee in multiple directions and not a straight line
Uche E
02-09-2016
dont we have a zig zag direction for marquee?
smo1234
03-09-2016
There is no zig zag in direction but you can keep two marquee tags one after the other and give them opposite directions. You can match their speed to give cross effect.
MAHESH KUMAR
17-11-2016
Very nice tips,about marquee.Very very thanks sir.................
divya
31-10-2018
can i set multiple direction in marquee tag? and in each direction can in set different timings?
smo1234
31-10-2018
May be by using DOM this can be done, by using simple HTML not possible.
19-01-2022
its very usefull
✖
We use cookies to improve your browsing experience. . Learn more