Marquee
 
End Tag: Required
Support Key: 2 | 3 | 3.2 | IE2 | M | N
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Top Of Tree | Tag Index | Tag History


What is it?
A Marquee is a rectangular banner region of moving/scrolling text allowing many different movement behaviors.
Attributes
Align
2 | 3 | 3.2 | IE2 | M | N
Required? No
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 | IE2 | M | N
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 | IE2 | M | N
Required? No
Description:
Indicates a background color to be used for the Marquee text box.
Values: Either an RGB triplet or a special Color name
Direction
2 | 3 | 3.2 | IE2 | M | N
Required? No
Description:
Specifies the direction the Marquee text should scroll.
Values: Left [DEFAULT] | Right
Height
2 | 3 | 3.2 | IE2 | M | N
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 | IE2 | M | N
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 | IE2 | M | N
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 | IE2 | M | N
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 | IE2 | M | N
Required? No
Description:
Specifies the number of milliseconds between each successive draw of Marquee text.
Values:
Values are specified in positive integer millisecond amounts.
VSpace
2 | 3 | 3.2 | IE2 | M | N
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 | IE2 | M | N
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.

Style Sheet Attributes
[More on Cascading Style Sheets]
Class
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This represents an assigned semantic classification grouping(s) for the current tag.
Values:
Given as a comma separated list of alphanumeric characters. Class names may contain spaces (multiple consecutive spaces treated as a single space.)
ID
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This assigns an alpha-numeric identifier that is unique to this tag instance. Style sheets may use this attribute to reference the current instance of this tag. Hyperlinks may also use this identifier to serve as a destination.
Values:
An alphanumeric string - initial character must be a letter followed by alphabetic characters, digits, "-" or "." characters. The allowable set of alpha-characters is restricted to the A-Z and a-z set.
Style
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This attribute is a text string that provides rendering style information for the current tag.
Values:
Please see the description of inline styles for more information on how to use this attribute and its possible values.
Example
<marquee ALIGN="Top" LOOP="infinite"BEHAVIOR="slide" BGCOLOR="#FF0000"DIRECTION="left" HEIGHT=30 WIDTH=200>
Marquee Sliding Text Example
</marquee>
Parent Model
%Anchors% | %Virtual Formatting% | %Physical Formatting% | %Block Format Parent% | %Multimedia Parent% | <Body> | <Address> | <Basefont> | <Heading> | <Marquee>
Content Model
%Text% | %Anchors% | %Virtual Formatting% | %Physical Formatting% | %Line Break Content% | %Multimedia Content%
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...