<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> 走马灯 </title>
</head>
<body>
<div style="width:300px;height:100px;background-color:silver">
<marquee direction="right">剧毒追踪</marquee>
</div>
<hr>
<!--
direction:方向
behavior:滚动方式变换
loop:循环
scrollamount:数字越大,越快
scrolldelay:延迟多少毫秒
-->
<div style="width:800px;height:500px;background-color:silver">
<marquee direction="right" behavior="alternate" loop="2" scrollamount="4" scrolldelay="500"><i m g src="图片路径"></marquee>
</div>
</body>
</html>