Marquee tag is used to scroll text within the available browsing area. This tag only applies to IE3 and later versions of the browser. Format:
MARQUEE ALIGN="…"
BEHAVIOR="…"
BGCOLOR="…"
DIRECTION="…" "
WIDTH="…"
HSPACE="…"
VSPACE="…"
LOOP="…"
SCROLLAMOUNT="…"
SCROLLDELAY="…"
ONMOUSEOUT=this.start()
ONMOUSEOVER=this.stop()
GN: used to press the button Align scrolling text to a specified value. The values that can be set for ALIGN are: LEFT, CENTER, RIGHT, TOP, and BOTTOM. This property is not required.
Example:
Let the browser process text according to the set method. If the method is set to SLIDE, the text moves onto the document and stays in the margins. If set to ALTERNATE, the text moves from side to side. If set to SCROLL, the text will scroll repeatedly on the page. This attribute is not required. The values that can be set are: SILIDE, ALTERNATE, SCROLL.
Example:
The background color can be set in RGB, hexadecimal value format or color name.
Example:
The hex value sets the background color of the scrolling text to red