来自网上搜索整理
<marquee> ... </marquee> 文字移动属性的设置
方向
<direction=#> #=left, right <marquee direction=left>从右向左移!</marquee>
方式
<bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll>一圈一圈绕着走!</marquee>
<marquee behavior=slide>只走一次就停了</marquee>
<marquee behavior=alternate>来回走</marquee>
环<loop=#> #=次数;若未指定则环不止(infinite) <marquee loop=3 width=50% behavior=scroll>只走 3 次</marquee> <P>
<marquee loop=3 width=50% behavior=slide>只走 3 次</marquee>
<marquee loop=3 width=50% behavior=alternate>只走 3 次!</marquee>
速度
<scrollamount=#> <marquee scrollamount=20>我跑得很快了吧</marquee>
延时
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100>走一步,停一停,好玩</marquee>
外观(Layout)设置
对齐方式(Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400>啦啦啦,我会移动啊!</marquee>
</font>
(1)<marquee direction=up scrollamount=3>
文字向上滚。<p>
文字向上滚。<p>
文字向上滚。<p>
</marquee>
(2)<table border="1" bordercolor="#000000" bgcolor="#6699ff" cellpadding="5" cellspacing="0">
<tr>
<td>
<script language=javascript>
document.write ("<marquee scrollamount='1' scrolldelay='30' direction= 'UP' width='200' id='xise_cn' height='150' οnmοuseοver='helpor_net.stop()' οnmοuseοut='helpor_net.start()' Author:redriver; For more,visit:www1.xise.cn>")
document.write ("<h2><p align='center'><font color='#ffffff' face='黑体'>偶 然</font></h2>")
document.write ("<p align='right'><a href='#' target='_blank'><font color='#ffffff'>徐志摩</font></a> ")
document.write ("<p><font color='#ffffff'> ")
document.write ("<br>我是天空里的一片云,")
document.write ("<br>偶尔投影在你的波心—— ")
document.write ("<br>你不必讶异, ")
document.write ("<br>更无须欢喜—— ")
document.write ("<br>在转瞬间消灭了踪影。")
document.write ("<br>")
document.write ("<br>你我相逢在黑暗的海上,")
document.write ("<br>你有你的,我有我的,方向;")
document.write ("<br>你记得也好, ")
document.write ("<br>最好你忘掉, ")
document.write ("<br>在这交会时互放的光亮! ")
document.write ("</font>")
document.write ("</marquee> ")
</script>
</td>
</tr>
</table>
(3)<marquee scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">
<img border="0" src=" http://要滚动的图片地址1">
<img border="0" src=" http://要滚动的图片地址2">
</marquee>