deleted Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
The HTML <marquee>
element is used to insert a scrolling area of text.
behavior
scroll
, slide
and alternate
. If no value is specified, the default value is scroll
.bgcolor
direction
left
, right
, up
and down
. If no value is specified, the default value is left
.height
hspace
loop
scrollamount
scrolldelay
truespeed
is specified.truespeed
scrolldelay
values lower than 60 are ignored. If truespeed
is present, those values are not ignored.vspace
width
onbounce
alternate
.onfinish
onstart
<marquee>This text will scroll from right to left</marquee> <marquee direction="up">This text will scroll from bottom to top</marquee> <marquee direction="down" width="250" height="200" behavior="alternate" style="border:solid"> <marquee behavior="alternate"> This text will bounce </marquee> </marquee>
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of '<marquee>' in that specification. | Living Standard | Make it obsolete in favor of CSS but define its expected behavior, for backward compatibility. |
HTML5 The definition of '<marquee>' in that specification. | Recommendation | Make it obsolete in favor of CSS but define its expected behavior, for backward compatibility. |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 1.0 | (Yes) | 1.0 (1.7 or earlier) | 2.0 | 7.2 | 1.2 |
truespeed attribute | No support | (Yes) | 3.0 (1.9) | 4.0 | No support | No support |
hspace/vspace attribute | ? | (Yes) | 3.0 (1.9) | ? | ? | ? |
loop attribute | ? | (Yes) | 3.0 (1.9) | ? | ? | ? |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | (Yes) | 1.0 (1.0) | ? | ? | ? |
truespeed attribute | ? | (Yes) | 1.0 (1.0) | ? | ? | ? |
hspace/vspace attribute | ? | (Yes) | 1.0 (1.0) | ? | ? | ? |
loop attribute | ? | (Yes) | 1.0 (1.0) | ? | ? | ? |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee