W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y

<MARQUEE>...</MARQUEE>

Description

This element is a container that enables you to create a scrolling text marquee.

Attributes

W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0n
TV 1.2y
2.1y
ALIGN
Specifies the position of the text inside the assigned space for the marquee. Possible values are BOTTOM, MIDDLE and TOP.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
BEHAVIOR
Specifies how the text should behave.

Value Description
ALTERNATE The text will bounce back and forth within the marquee.
SCROLL The text will start completely off one side, scroll all the way across and completely off, and then start again.
SLIDE The text will start completely off one side, scroll in, and stop as soon as the text touches the other margin.

The default value is SCROLL.


W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
BGCOLOR
The background color of the marquee.
See the page Using colors for a description on specifying colors.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
DIRECTION
Specifies in which direction the text should scroll. Possible values are LEFT and RIGHT. The default is LEFT, which means scrolling to the left from the right.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
HEIGHT
Specifies the height of the marquee, either in pixels or as a percentage of the screen height.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
HSPACE
Specifies left and right margins for the outside of the marquee, in pixels.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
LOOP
Specifies how many times a marquee will loop when activated. You can specify a number of times it must be displayed or use INFINITE, in which case it will loop indefinitely. Using number -1 has the same effect as INFINITE.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
SCROLLAMOUNT
Specifies the number of pixels between each successive draw of the marquee text.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
SCROLLDELAY
Specifies the number of milliseconds between each successive draw of the marquee text.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
TRANSPARENCY
With version 1.1 of the WebTV interface, use the transparency attribute for the background color for the marquee. The value for the transparency attribute can range from 0 (fully opaque) to 100 (fully transparent). The default value for transparency is 0. Note that the WebTV interface has implemented optimizations for a transparency value of 50 that make pages draw faster.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
VSPACE
Specifies top and bottom margins for the outside of the marquee, in pixels.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y
WIDTH
Sets the width of the marquee, either in pixels or as a percentage of the screen width.

Examples

Source
<div align="center"><FONT color="#ffffff" size="+1">
<MARQUEE bgcolor="#000080" direction="right" loop="6" width="75%">
<STRONG>A sample marquee</STRONG></MARQUEE></FONT></DIV>
 
Result
A sample marquee
Statistics