HTMLMarqueeElement

The interface for <marquee>. Extends HTMLElementElement.

Deprecated. HTMLMarqueeElement covers an obsolete element (WHATWG HTML §16.3 "Other elements, attributes and APIs"); it exists only for instanceof / constructor.name fidelity and content-attribute reflection, not for use in new content.

Reflected properties

All setters are guarded and throw NoModificationAllowedError on a read-only document.

Property Attribute Type Notes
behavior behavior string Reflects the content attribute verbatim.
bgColor bgcolor string Reflects the content attribute verbatim.
direction direction string Reflects the content attribute verbatim.
height height string Reflects the content attribute verbatim.
hspace hspace string Reflects the content attribute verbatim.
loop loop string Reflects the content attribute verbatim.
scrollAmount scrollamount string Reflects the content attribute verbatim.
scrollDelay scrolldelay string Reflects the content attribute verbatim.
trueSpeed truespeed boolean (presence) Reading reflects whether the attribute is present; writing false removes it, any other value sets it present.
vspace vspace string Reflects the content attribute verbatim.
width width string Reflects the content attribute verbatim.

See also