+ 2
How to change text movement direction in marquee of html?
3 Answers
+ 7
<marquee direction = "right/left/up/down">
note: the marquee tag is no longer supported in html 5, so it's not recommended to use it, try to achieve the same effect with css by animating your container
+ 4
you can use 'direction' attribute in marquee tag to change its direction.
example:
<p> <marquee direction="left"> this is a paragraph </marquee> </p>
<!--text will move from right to left -->
p> <marquee direction="right"> this is a paragraph </marquee> </p>
tex will move from left to right.
p> <marquee direction="down"> this is a paragraph </marquee> </p>
tex will move from up to down.
p> <marquee direction="up"> this is a paragraph </marquee> </p>
tex will move from down to up.
hope it will help....
0
<MARQUEE DIRECTION=LEFT>Hi There.</MARQUEE> <MARQUEE DIRECTION=RIGHT>Hi There.</MARQUEE>
<MARQUEE BEHAVIOR=SCROLL>Hello</MARQUEE>
<MARQUEE BEHAVIOR=SLIDE>Hello</MARQUEE>
<MARQUEE BEHAVIOR=ALTERNATE>Hello</MARQUEE>
try all these