<MARQUEE> and </MARQUEE>

Description Attributes Examples

Description:

The <MARQUEE> tag defines a moving section of text, in a manner similar to a movie marquee. This tag is supported by Internet Explorer only (In Netscape the text will not move.)

Marquee only works with text - images between the <marquee> and </marquee> are ignored.

Since this tag does not work in Netscape, you should take care to examine the resultant page carefully in both Internet Explorer and Netscape to be sure it looks okay.

Attributes:

align=alignment
Determines how to align the text surrounding the marquee. May have the following values:

CENTER Center the marquee
LEFT Align to the left
RIGHT Align to the right
behavior=item
This determines how the text in the marquee will act.

SCROLL Slide the text into the box and out again.

scrolling
SLIDE Slide the text into the box and stop when it hits the side.

sliding
ALTERNATE Slide back and forth.

alternating
bgcolor="color"
The color for the background of the marquee.
direction=value
Indicates which direction the text will scroll.

LEFT Scroll left to right.
RIGHT Scroll right to left.
height=n
Indicates the height of the marquee. If n is a value, it is the number of pixels. If n includes a %, it indicates a percentage of the container (body, table cell or whatever) in which it is within.
hspace=n
pixels to the right and left of the marquee.
loop=n
Indicates number of times to loop through the marquee. A value of INFINITE means to loop continuously.
scrollamount=n
Indicates the number of pixels to scroll each time the marquee text is redrawn.
scrolldelay=n
Indicates the number of milliseconds between redraws of the marquee text.
vspace=n
pixels to the top and bottom of the marquee.
width=n
Indicates the width of the marquee. If n is a value, it is the number of pixels. If n includes a %, it indicates a percentage of the container (body, table cell or whatever) in which it is within.

Examples:

<marquee height=20 width=200 align=right direction=right
  behavior=scroll>Merry Christmas</marquee>

Merry Christmas

<marquee height=20 width=200 align=right direction=right
  behavior=scroll><font color=red>Merry Christmas
  </font></marquee>

Merry Christmas

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System