The examples of the MARQUEE element.
In browsers other than MSIE, there are some unsupported attributes.
Default scrolling![]()
![]()
![]()
<marquee>Default scrolling</marquee>
Background color![]()
![]()
![]()
<marquee bgcolor="#d9d9ff">Background color</marquee>
Background color and Width![]()
![]()
![]()
<marquee bgcolor="#d9d9ff" width="50%">Background and Width</marquee>
Background color and space![]()
<marquee bgcolor="#d9d9ff" hspace="50" vspace="20">Background and Space</marquee>
Behavior the alternate (bounce back and forth)![]()
![]()
![]()
<marquee behavior="alternate">Bounce back and forth</marquee>
Direction the right (it moves right)![]()
![]()
![]()
<marquee direction="right">It moves right</marquee>
Direction the down (it moves down)![]()
![]()
<marquee direction="down" height="100">It moves down</marquee>
Nesting the marquee![]()
![]()
<marquee direction="down" behavior="alternate" height="150"> <marquee behavior="alternate"><font size="7">?</font></marquee> </marquee>
Comparison of speeds![]()
![]()
![]()
<marquee scrolldelay="85" scrollamount="6">Default speed</marquee> <marquee scrolldelay="50" scrollamount="10" truespeed>Very fast !!</marquee> <marquee scrolldelay="200" scrollamount="3">Very slow ...</marquee>