Тег MARQUEE
MARQUEE
<MARQUEE
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
BEHAVIOR=ALTERNATE | SCROLL | SLIDE
BGCOLOR=color
DIRECTION=DOWN | LEFT | RIGHT | UP
HEIGHT=string
HSPACE=variant
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
LOOP=string
SCROLLAMOUNT=long
SCROLLDELAY=long
STYLE=string
TITLE=string
TRUESPEED=string
VSPACE=string
WIDTH=string
event = script
>
The MARQUEE tag enables you to create a scrolling text marquee.
- ALIGN=
- Specifies the alignment for the control-like element.
- BEHAVIOR=
- Specifies how the text scrolls in the marquee.
- BGCOLOR=
- Sets the background color behind the element.
- DIRECTION=
- Specifies which direction the text should scroll.
- HEIGHT=
- Along with the width attribute, specifies the size at which the element is
drawn. Returns the calculated height of the element in pixels. In HTML, this
attribute may be initially set in pixels or percentages.
- HSPACE=
- Along with VSPACE= , specifies margins for the
element.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- LOOP=
- Specifies how many times a sound or video will loop when activated. Also
specifies how many times the marquee should loop.
- SCROLLAMOUNT=
- Specifies the number of pixels the text scrolls between each subsequent
drawing of the MARQUEE.
- SCROLLDELAY=
- Specifies the speed the MARQUEE scroll in milliseconds.
- STYLE=
- Specifies an in-line style sheet for the tag.
- TITLE=
- The Title attribute is used to provide advisory information.
- TRUESPEED=
- This feature will always compute the true position of the marquee given the
scrolldelay scrollamount and the actual time elapsed from the last clock tick.
- VSPACE=
- Along with HSPACE=, specifies margins for the
element.
- WIDTH=
- Returns the calculated width of the element in pixels. In HTML, this
attribute may be initially set in pixels or percentages.
- event
- Can be one or more of these events:
onafterupdate onblur
onbounce onclick
ondblclick ondragstart
onfinish onfocus
onhelp onkeydown
onkeypress onkeyup
onmousedown onmousemove
onmouseout onmouseover
onmouseup onresize
onrowenter onrowexit
onselectstart
onstart
The start tag is required, and the end tag is optional.