<marquee>Then your text</marquee>
The basic tag for a marquee. Close in the standard close tag </marquee>.
<marquee bgcolor="#xxxxxx">Then your text</marquee>
This sets a background color for your marquee. The #xxxxxx is the hexadecimal number for your
color. For some hex color codes, go to my Netscape Color Chart.
<marquee width=n>Then your text</marquee>
This sets the width of the marquee. n is expressed in pixels or % of page width.
NOTE: Beware of the spelling! If you use behavior instead of behavior,
then it will not work.
<marquee behavior="alternate">Then your text</marquee>
<marquee behavior="slide">Then your text</marquee>
Note: With IE3.0 versions, the marquee will scroll across once and stop at the left side.
With IE4.0, the marquee will not stop, but will jump across and scroll again, instead of
scrolling off the page as the basic marquee does.
<marquee>Then your text</marquee>
<marquee direction="right">Then your text</marquee>
<marquee direction="up">Then your text</marquee>
<marquee direction="down">Then your text</marquee>
HTML tags do not work between the marquee tags with IE3.0 versions, but they do
with IE4.0.
<font face="Comic Sans MS" size=5color="#CC33FF">
If you want to have several lines scrolling across your page, instead of one long line, then
you
will need to put each line in its own marquee tags. The <p> and <br>
tags might not work between the marquee tags. Be aware that the lines will scroll across
the page at slightly different speeds unless they are the exact same length.
<marquee scrolldelay=n>Then your text</marquee>
<marquee scrollamount=n>Then your text</marquee>
<marquee loop=n>Then your text</marquee>
HTML TAGS
Therefore, if you wish to change the font size color or face of your marquee,
you must specify the font outside of the marquee tag. If you try to use it
between the tags ... the font changes might not work, depending on which version of IE is being
used to view your page!
<marquee>
<font face="Comic Sans MS" size=5color="#CC33FF">
The font MIGHT NOT change. </font>
</marquee>
<marquee>The font changes WILL work!!! </marquee>
</font>
<marquee>Here is the first line.........<br>
And here is the next.<br>
This third line is the last one! The line breaks MIGHT NOT work.</marquee>
<marquee>Here is the first line.........</marquee>
<marquee>And here is the next.</marquee>
<marquee>This third line is the last one! The line breaks WILL
work.</marquee>
SCROLLDELAY
This is supposed to set the number of milliseconds between each scroll of the marquee, where
n is the number required.
SCROLLAMOUNT
The scrollamount is supposed to set the space, in pixels, between successive scrolls of the
marquee, where n is the number of pixels required. It also seems to affect the speed of
the marquee as well. The higher the scrollamount number, the faster!!
LOOP
This sets the number of times that the marquee will loop, or scroll. If you do not specify, it
will loop continuously.