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|bottomAligns the marquee with the top, middle, or bottom of the neighboring text line.
behavior=scroll|slide|alternateSpecifies 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 nameSets background color of marquee.
direction=left|rightDefines the direction in which the text scrolls.
height=numberDefines the height in pixels of the marquee area.
hspace=numberHolds a number of pixels space clear to the left and right of the marquee.
loop=number|infiniteSpecifies the number of loops as a number value or infinite.
scrollamount=numberSets the number of pixels to move the text for each scroll movement.
scrolldelay=numberSpecifies the delay, in milliseconds, between successive movements of the marquee text.
vspace=numberHolds a number of pixels space clear above and below the marquee.
width=numberSpecifies 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