Framify

Tag: <marquee>

<marquee> Syntax

Syntax Diagram for <marquee>
Opening Tag Content Closing
Tag
Open Parameter = Value Close
<marquee IE hspace IE = n IE > text
to
scroll
</marquee> IE
vspace IE
loop IE
bgcolor IE color IE

<marquee> Description

"<marquee>" shows horizontally scrolling text, reminiscent of theatre marquees that scroll messages. No HTML coding (e.g., font size/face, bold, italic, etc.) is allowed between the <marquee> tags, although they work outside the <marquee> tags. Explorer only.
hspace
Specifies the amount of indentation from the left margin at which the marquee box is located; default is 0. Measured in pixels.
vspace
Specifies the amount of vertical whitespace appears above and below the marquee box; default is 0. Measured in pixels.
loop
Specifies the number of times the text is to scroll across. If not specified, Explorer assumes infinite looping.
bgcolor
Specifies the background color of the marquee box. Color is specified in the typical HTML method: color name (e.g., "white") or hexadeciaml value (e.g., "ff00ff").

<marquee> Examples

This text:
<p><marquee>No parameters</marquee> <p><marquee hspace=20>hspace=20</marquee> <p><marquee vspace=20>vspace=20</marquee> <p><marquee loop=2>loop=2</marquee> <p><font size=+3 face="Helvetica,Arial"><b><marquee bgcolor=red>Colored background</marquee></b></font>
. . .yields these results (again, Explorer only).

No parameters

hspace=20

vspace=20

loop=2

Colored background


Last Modified: Thursday, 24-Dec-2009 14:41:37 MST