滚动标记

<marquee></marquee>

onmouseout="this.start()"   鼠标移出时继续滚动

onmouseover="this.stop()"    鼠标移入该区域停止滚动

behavior="alternate两端之间来回滚动/scroll由一端滚动到另一端会重复/slide由一端滚动到另一端不会重复"

bgcolor:背景颜色

direction:滚动方向,down/left/right/up

height:高度

width:宽度

hspace:活动字幕所在位置距父容器水平边距的距离

vspace:垂直边框的距离

loop:滚动次数,-1代表一致滚动下去

scrollamount:滚动速度

scrolldelay:延迟时间







猜你喜欢

转载自blog.csdn.net/FUKEXIN_xiaojiang/article/details/80652942