Make your own free website on Tripod.com
The Marquee Tag

For scrolling text, use the <MARQUEE> tag. Any word or sentence written between the opening and ending tags will be affected.

When used with multiple tags, the opening marquee tag should be placed directly in front of your text and the ending marquee tag directly after it. Like this:

<I><B><MARQUEE>TEXT</MARQUEE></B></I>

The marquee tag supports the use of attributes, and values allowing you to create several different effects. Here's a few examples of what you can achieve using the marquee tag:

Note: Not all browsers support the Marquee Tag. It is only compatible with WebTv and Microsoft Internet Exporer.


For a continuous scroll from right to left,
write it this way:
<marquee>This is a marquee!</marquee>
It will look like this:
This is a marquee!


For a continuous scroll from left to right,
write it this way:
<marquee direction=right>
This is a Marquee!
</marquee>
It will look like this:
This is a Marquee!


To make your text travel from
right to left and stop,
write it this way:
<marquee behavior=slide>
This is a Marquee!
</marquee>
It will look like this:
This is a Marquee!


To make your text travel from
left to right and stop
write it this way:
<marquee behavior=slide direction=right>
This is a Marquee!
</marquee>
It will look like this:
This is a Marquee!


To add a background color,
write it this way:
<marquee bgcolor=pink>
This is a marquee!
</marquee>
It will look like this:
This is a Marquee!


You can center your marquee,
as well as shorten the length
of travel by writing it this way:
<center><marquee width=35%:>
This is a Marquee at 35% centered!
</marquee></center>
It will look like this:
This is a marquee at 35% centered!

Note: You can make the number value of the width attribute anything you want. Don't forget to write it as a %.


To make your text travel back and forth,
write it this way:
<marquee behavior=alternate>
This is a Marquee!
</marquee>
It will look like this:
This is a Marquee!