HTML Reference Guide


Tag Index| Content List| HTML FAQ

<MARQUEE> ... </MARQUEE> MARQUEE

Description:

A Marquee is a rectangular banner region of moving/scrolling content allowing many different movement behaviors.

Attributes:

align - Specifies where the text around the marquee should align vertically relative to the marquee.

behavior - Specifies how the Marquee text should move.

bgcolor - Indicates a background color to be used for the Marquee text box.

direction - Specifies the direction the Marquee text should scroll.

height - Specifies the height of the Marquee box. Default value is the height of the contained text.

hspace - Specifies values for the left and right spacing margins for the outside of the Marquee.

loop - Specifies how many times the Marquee display will cycle.

scrollamount - This attribute specifies the amount of space that exists horizontally between each successive draw of Marquee text.

scrolldelay - Specifies the number of milliseconds between each successive draw of Marquee text.

truespeed - This stand alone indicates that exact SCROLLDELAY values should be honored. If this attribute is not present, all SCROLLDELAY values less than 59 are rounded to 60 milliseconds.

vspace - Specifies values for the top and bottom spacing margins for the outside of the Marquee.

width - Specifies the width of the Marquee box. Default value is the width of the screen.

Example code:

<marquee ALIGN="Top" LOOP="infinite" BEHAVIOR="slide" BGCOLOR="#FF0000" DIRECTION="left" HEIGHT=30 WIDTH=200> Marquee Sliding Text Example</marquee>

Result:

Marquee Sliding Text Example

See Also: