You are here: Reference > HTML > attributes > direction (marquee)

direction attribute (marquee)

Browser support:
Specifies in which direction the marquee should scroll.
JavaScript page for this attribute: direction. You can find other example(s) there.

Possible values:

String that sets the direction of the scrolling.
One of the following values:
marquee scrolls down.
marquee scrolls left.
marquee scrolls right.
marquee scrolls up.
Default: left.

Example HTML code 1:

This example illustrates the use of the direction attribute:
<marquee id="myMarquee" style="width:200px;" direction="down">Hi There!</marquee>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content