Name
<marquee> — MSIE 2, 3, 4, 5, 5.5, 6 WebTV
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=#rrggbborcolor name Sets the background color of the marquee.
-
direction=left|right Defines the direction in which the text scrolls. IE 4.0+ also support the values
upanddown.
-
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 times the text 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