效果很簡單,只需要把下面的代碼復制到你自己的頁面中去運行一下就行了
代碼如下:
<!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=gb2312" />
<title>無標題文檔</title>
</head>
<body >
<P align=left><MARQUEE height=293 behavior=slide width=550 loop=1 scrollAmount=1 scrollDelay=100><FONT style="FONT-SIZE: 18pt; FONT-FAMILY: 方正姚體; COLOR: #ea0000" color=#ff0000>
代碼滾動
</FONT>
</MARQUEE></P>
</body>
</html>