Description:
Specifies where the text around the marquee should align vertically
relative to the marquee.
Values:Top
[DEFAULT] |
Middle | Bottom
Behavior
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies how the Marquee text should move.
Values: Scroll
[DEFAULT - Text enters on one
side of the screen and travels to the opposite side and
cycles repeatedly from where it started] Slide
[marquee enters from one side of the screen and comes to stop at
the opposite side] Alternate
[marquee bounces from one side of the screen to the other.]
BGColor
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Indicates a background color to be used for the Marquee text box.
Description:
Specifies the direction the Marquee text should scroll.
Values:Left [DEFAULT] |
Right | Down | Up
Height
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies the height of the Marquee box. Default value is the height
of the contained text.
Values:
Positive integer values representing the pixel height of the marquee
box or a percentage of the screen height.
HSpace
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies values for the left and right spacing margins for the outside
of the Marquee.
Values:
Specified in positive integer pixel amounts. Default is 0.
Loop
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies how many times the Marquee display will cycle.
Values:
A positive integer N times, or
INFINITE (-1)
[DEFAULT]
ScrollAmount
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
This attribute specifies the amount of space that exists horizontally
between each successive draw of Marquee text.
Values: Positive integer pixel amounts.
ScrollDelay
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies the number of milliseconds between each successive draw
of Marquee text.
Values:
Values are specified in positive integer millisecond amounts.
Truespeed
2 | 3
| 3.2 | 4
| IE4B1 | M
| N | O
Required? No
Description:
This stand alone indicates that exact SCROLLDELAY values should be honored.
If this attribute is not present, all SCROLLDELAY values less than 59 are
rounded to 60 milliseconds.
Values: NA
VSpace
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies values for the top and bottom spacing margins for the outside
of the Marquee.
Values:
Specified in positive integer pixel amounts. Default value is 0.
Width
2 | 3
| 3.2 | 4
| IE2 | M
| N | O
Required? No
Description:
Specifies the width of the Marquee box. Default value is the width of
the screen.
Values:
Positive integer values representing the pixel height of the marquee
box or a percentage of the screen height.
Example
<marqueeALIGN="Top"
LOOP="infinite"
BEHAVIOR="slide"
BGCOLOR="#FF0000"
DIRECTION="left"
HEIGHT=30 WIDTH=200>
Marquee Sliding Text Example
</marquee>
Because only Internet Explorer supports this element, its use is not
recommended.
Many of the effects of this element can be replicated with Java or
Javascript which already has wider support than Marquee. In situations
where Marquee support is guaranteed, it does represent a MUCH more
compact method of representation to produce moving text than Java
code would be.
There is no direct way to control the speed at which a bit of
Marquee text travels. The SCROLLAMOUNT and SCROLLDELAY attributes must be
used in tandem to create this effect and their use is not intuitive.
Browser Peculiarities
Internet Explorer versions before 4.0 Beta 1 will not understand the
DIRECTION attribute values of UP and DOWN.
Nested MARQUEEs do not behave well in Internet Explorer. Don't try it.
The use of block structures in MARQUEEs (such as BLOCKQUOTE) will be
ignored in IE versions 3.0x and below, while in IE 4.0 and above it makes
the marquee appear as a multi-line field.