This proprietary element specifies a scrolling, sliding, or bouncing text marquee. This is primarily a Microsoft-specific element, though a few other browsers support it as well.
BEHAVIOR="ALTERNATE | SCROLL | SLIDE"
BGCOLOR="color name | #RRGGBB"
DATAFORMATS="HTML | TEXT"
DATASRC="data source ID"
DIRECTION="DOWN | LEFT | RIGHT | UP"
HEIGHT="pixels or percentage"
ID="unique alphanumeric identifier"
LOOP="INFINITE | number"
WIDTH="pixels or percentage"
This attribute controls the movement of marquee text across the marquee. The ALTERNATE option causes text to completely cross the marquee field in one direction and then cross in the opposite direction. A value of SCROLL for the attribute causes text to wrap around and start over again. This is the default value for a marquee. A value of SLIDE for this attribute causes text to cross the marquee field and stop when its leading character reaches the opposite side.
This attribute specifies a unique alphanumeric identifier to be associated with an element. Naming an element is important to being able to access it with a style sheet, a link, or a scripting language. Names should be unique to a document and should be meaningful.
This attribute indicates the number of times the marquee content should loop. By default, a marquee loops infinitely unless the BEHAVIOR attribute is set to SLIDE. It is also possible to use a value of INFINITE or -1 to set the text to loop indefinitely.
This attribute supplies advisory text for the element that may be rendered as a tool tip when the mouse is over the element. A title may also simply provide information that alerts future document maintainers to the meaning of the element and its enclosed content.
This attribute specifies the marquee's degree of transparency. Values range from 0 (totally opaque) to 100 (totally transparent).
When this attribute is present, it indicates that the SCROLLDELAY value should be honored for its exact value. If the attribute is not present, any values less than 60 are rounded up to 60 milliseconds.
<MARQUEE BEHAVIOR="ALTERNATE"> SPECIAL PRICE! This week only!!. </MARQUEE> <MARQUEE ID="marquee1" BGCOLOR="GRAY" DIRECTION="RIGHT" HEIGHT="30" WIDTH="80%" HSPACE="10" VSPACE="10"> HTML is a basic of building web page. Try to learn each component carefully and you will know that HTML is very easy. </MARQUEE>