Name
<marquee> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - 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.
Scrollis 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.Slidestops the scroll when the text touches the other margin.Alternatemeans 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
npixels 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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access