<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>滚动字幕</title>
</head>
<body style="font-size:12px;">
<div class="text">
<marquee style=" 230; height: 200" scrollAmount=1 scrollDelay=77 direction=left width=230 height=200 onMouseOut="this.start()" onMouseOver="this.stop()">
此处显示 class "text" 的内容</marquee>
</div>
<p> 注释:marquee /marquee(滚动)<br>
scrollAmount(滚动的速度)<br>
scrollDelay (延时1000毫秒)<br>
direction (属性规定文本的方向 / 书写方向。)(eg:left,right,up,down)<br>
onMouseOut="this.start()"用来设置鼠标移出该区域时继续滚动<br>
onMouseOver="this.stop()"用来设置鼠标移入该区域时停止滚动<br></p>
</body>
</html>