|
HTML: Marquees
<Marquee>Message goes here</Marquee>
This tag is used to insert a scrolling marquee into your
web page.
<Marquee> is used to start the marquee while
</Marquee> ends it.
If you insert some variables into the marquee tag you can alter the behavior of the marquee.
Align=Top
This determines how the surrounding text is aligned vertically with the marquee, where Top is the alignment. Either Top or Bottom can be used.
Behavior=Slide
This determines how the text behaves within the marquee, where Slide is the behavior. There are several different behavior commands:
The traditional off-the-screen marquee is default.
Bgcolor="#3366FF"
This determines the background colour of the marquee, where #3366FF is the colour.
Direction=Left
This determines the direction of which the marquee moves, where Left is the direction. Left, Right, Up or Down can be used. Left is default.
Loop=2
This determines the number of times that the marquee will scroll, where 2 is the amount. Infinite is default.
Scrolldelay=5
This determines the number of seconds between each loop, where 5 is the time. 0 is default.
Scrollamount=2
This determines the number of pixels the marquee moves through each time, where 2 is the pixel number. Lowering the number will result in a slower marquee. 4 is default.
Height=10
This determines the height of the marquee, where 10 is the height. The height of the text is default.
Width=300
This determines the width of the marquee, where 300 is the width. The width of the page is default.