跑马灯代码

<marquee></marquee>普通卷动 
<marquee behavior=slide></marquee>滑动 
<marquee behavior=scroll></marquee>预设卷动 
<marquee behavior=alternate></marquee>来回卷动 
<marquee direction=down></marquee>向下卷动 
<marquee direction=up></marquee>向上卷动 
<marquee direction=right></marquee>向右卷动 
<marquee direction=’left’></marquee>向左卷动 
<marquee loop=2></marquee>卷动次数 
<marquee width=180></marquee>设定宽度 
<marquee height=30></marquee>设定高度 
<marquee bgcolor=FF0000></marquee>设定背景颜色 
<marquee scrollamount=30></marquee>设定滚动速度 
<marquee scrolldelay=300></marquee>设定卷动时间 
<marquee onmouseover="this.stop()"></marquee>鼠标经过上面时停止滚动 
<marquee onmouseover="this.start()"></marquee>鼠标离开时开始滚动
<marquee direction=’left’ loop=2 width=960 height=30 scrollamount=30 scrolldelay=300 onmouseover="this.stop()" onmouseover="this.start()"></marquee>示例

猜你喜欢

转载自blog.csdn.net/weixin_40836026/article/details/78449064