html文字滚动参数属性说明
先举个例子:
- <html>
- <head>
- <title>网站建设</title>
- </head>
- <body>
- <marquee behavior="scroll" direction="up" height="30" style="overflow:hidden;" scrollamount="1" width="300" onMouseOver="stop()" onMouseOut="start()">
- 网站模板!<br />
- 网页模板!<br />
- </marquee>
- </body>
- </html>
复制代码direction:方向 up:上 down:下 left:左 right:右 scrollamount:滚动速度-----------------scroll:滚动 amount:数值 width:宽度 height:高度 onmouseover:当鼠标移上去 onmouseout:当鼠标离开 stop():停止 start():开始 behavior: scroll 循环滚动 alternate 来回滚动 slide 滚动一次停止 |