1. Instructions for using the Marquee attribute
<marquee> ... </marquee>
Move the property settings, this movement is not only limited to text, but also can be applied to pictures, tables, etc.
Mouse Properties
Onmouseout=this.start () ... Mouse move out State scrolling
Onmouseover=this.stop () ..... Stop scrolling when the mouse passes
Direction
<direction=#> #=left, right, up, and down <marquee direction=left> move to the left! </marquee>
Way
<bihavior=#> #=scroll, Slide, alternate <marquee behavior=scroll> go around a lap! </marquee>
<marquee behavior=slide> only walk once and rest! </marquee>
<marquee behavior=alternate> Walk </marquee>
Cycle
<loop=#> #= the number of times, if not specified the loop (infinite) <marquee loop=3 width=50% behavior=scroll> only walk 3 times </marquee>
<marquee loop=3 width=50% behavior=slide> walk 3 trip </marquee>
<marquee loop=3 width=50% behavior=alternate> only walk 3 times! </marquee>
Speed
<scrollamount=#> <marquee scrollamount=20>, I walk very fast yo! </marquee>
Delay
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100>, I take a step, stop! </marquee>
Appearance (Layout) settings
Alignment (Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400>, I'll move! </marquee>
</font>
Background
<bgcolor=#> #=rrggbb 16 Binary, or the following predefined colors:
Black, Olive, Teal, Red, Blue, maroon, Navy, Gray, Lime,
Fuchsia, white, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor=aaaaee> colors! </marquee>
Area
Blank
(Margins) <marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle> area! </marquee>
HTML Classic Tag Usage