The Marquee Tag

This scrolling text is called a marquee

A marquee is created by placing text in between the <marquee> and </marquee> tags. Create a new file called marquee.html, and experiment with different types of marquees.

Inside the marquee tag, you set several options. One is called behavior. You can set behavior = alternate, behavior = scroll, or behavior = slide. Try one of each.

Also, you can choose a direction that the text will move. You set direction = right to have the text scroll right. Other directions are left, up, and down.

Also, you can set the height and width of the marquee window. If you want to have text scroll up in a narrow box, set behavior = scroll direction = up height = 200 width = 200 inside the marquee tags.

This is scrolling up in a narrow box.

You could use it for headlines.

You could also have links.

For slow scrolling, use scrollamount = 1. For fast scrolling, set this property to 25.

To add a background color, set bgcolor = red--or some other color. You can use the hex notation (#ccffff or what have you).

Come up with a way to add a marquee to your store.

Page created by Arnold Kling. Last Modified March 18, 2002.