Name

<marquee> — NN: 2, 3, 4 &bull; MSIE: 2, 3, 4, 5 &bull; HTML 4 &bull; WebTV &bull; Opera3

Synopsis

<marquee>...</marquee>

Creates a scrolling-text marquee area.

Attributes

align=top|middle|bottom

Aligns the marquee with the top, middle, or bottom of the neighboring text line.

behavior=scroll|slide|alternate

Specifies how the text should behave. scroll is the default setting and means the text should start completely off one side, scroll all the way across and completely off, then start over again. slide stops the scroll when the text touches the other margin. alternate means bounce back and forth within the marquee.

bgcolor=#rrggbb or color name

Sets background color of marquee.

direction=left|right

Defines the direction in which the text scrolls.

height=number

Defines the height in pixels of the marquee area.

hspace=number

Holds a number of pixels space clear to the left and right of the marquee.

loop=number|infinite

Specifies the number of loops as a number value or infinite.

scrollamount=number

Sets the number of pixels to move the text for each scroll movement.

scrolldelay=number

Specifies the delay, in milliseconds, between successive movements of the marquee text.

vspace=number

Holds a number of pixels space clear above and below the marquee.

width=number

Specifies the width in pixels of the marquee.

Get HTML Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.