Marquee

The MARQUEE tag is used to scroll text across a web page.
Marquee is only supported by Microsoft Internet Explorer.



You can change the background color, width, the number of times your message will scroll and the speed that your text scrolls, by adding the following attributes within your MARQUEE tag.

BGCOLOR="#CCCCCC" - background color
LOOP - Determines how many times the text will scroll. -1 is indefinite and will continuously scroll. You can set this to whatever you'd like.
SCROLLAMOUNT - Determines the speed your text will scroll.
WIDTH - Determines the width of your marquee.


<MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="4" width="50%">
Example Marquee
</MARQUEE>

Example Marquee




If you would rather have your text bounce back and forth, place the following code within your HTML. This example displays the marquee with linked text.

<MARQUEE behavior="alternate" scrollamount="2" bgcolor="Red" width="50%">
<A HREF="http://www.yourdomain.com">This is an example of bouncing text</A>
</MARQUEE>

This is an example of bouncing text.



Free JavaScripts provided
by Winfolinx.com


Back