基本语法
1<marquee> ... </marquee>
移动属性的设置 ,这种移动不仅仅局限于文字,也可以应用于图片,表格等等
方向
1<direction=#> #=left, right ,up ,down <marquee direction="left">从右向左移!</marquee>
2
3方式
4<bihavior=#> #=scroll, slide, alternate <marquee behavior="scroll">一圈一圈绕着走!</marquee>
5<marquee behavior="slide">只走一次就歇了!</marquee>
6<marquee behavior="alternate">来回走</marquee>
7
8循环
9<loop=#> #=次数;若未指定则循环不止(infinite) <marquee behavior="scroll" loop="3" width="50%">只走 3 趟</marquee> <p>
10<marquee behavior="slide" loop="3" width="50%">只走 3 趟</marquee>
11<marquee behavior="alternate" loop="3" width="50%">只走 3 趟!</marquee>
12
13速度
14<scrollamount=#> <marquee scrollamount="20">啦啦啦,我走得好快哟!</marquee>
15
16延时
17<scrolldelay=#> <marquee scrollamount="100" scrolldelay="500">啦啦啦,我走一步,停一停!</marquee>
18
19外观(Layout)设置
20
21对齐方式(Align)
22<align=#> #=top, middle, bottom <font size="6">
23<marquee align="#" width="400">啦啦啦,我会移动耶!</marquee>
24</font>
25
26底色
27<bgcolor=#> #=rrggbb 16 进制数码,或者是下列预定义色彩:
28Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
29Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor="aaaaee">颜色!</marquee>
30
31面积
32<height=# width="#"> <marquee bgcolor="aaeeaa" height="40" width="50%">面积!</marquee>
33
34空白
35(Margins)<hspace=# vspace="#">
36<marquee align="middle" bgcolor="ffaaaa" hspace="20" vspace="20" width="150">面积!</marquee></hspace=#></height=#></bgcolor=#></align=#></scrolldelay=#></scrollamount=#></p></loop=#></bihavior=#></direction=#>