1,從右向左:<marquee direction=left>我一路向左跑!</marquee> <P> 2,從左向右:<marquee direction=right>我一路向右跑!</marquee> 3,繞來繞去:<marquee behavior=scroll>我來回繞!</marquee> <P> 4,從右向左一次就停的:<marquee behavior=slide>我只走一次就停了!</marquee> <P> 5,來回走:<marquee behavior=alternate>邊走邊唱!</marquee> 6,速度:<marquee scrollamount=20>我快還是大家快?</marquee> 7,一步一停:<marquee scrolldelay=500 scrollamount=100>我一步一停!</marquee> 8,帶顏色滾動:<marquee bgcolor=aaaaee>看見底色了沒有?這個(gè)底色可以改!</marquee> 9,加大面積:<marquee height=40 width=50% bgcolor=aaeeaa>綠色占地方好大! </marquee>
代碼說明: 1.選以上九組代碼中的任何一種代碼,把其中的文字改成你所需要的文字就行了. 2.在代碼中加 LOOP=# 則代碼循環(huán)次數(shù),不加說明不停止,除了那個(gè)只走一次就停的. 本文轉(zhuǎn)阿甄的博客 |