基本语法
设置文字移动方向
图片的移动
设置对象移动
<html>
<head>
<title>对象移动</title>
</head>
<body>
<!--设置不同对象的移动-->
<marquee direction = up>
向上移动
</marquee>
<marquee direction = left behavior = alternate>
behavior设置滚动循环:scroll(循环移动)slide(只移动一个回合)alternate(来回移动)
</marquee>
<marquee loop = 3>
循环3次
</marquee>
<marquee scrollamount = 25>
scrollamount设置移动速度
</marquee>
<marquee scrolldelay = 1000>
scrolldelay设置延时,单位为毫秒
</marquee>
<marquee width = 200 height = 200 bgcolor = red direction = down>
设置移动区域
</marquee>
</body>
</html>