Day.12.28 HTML走马灯

作者: 挂树上的骷髅怪 | 来源:发表于2016-12-28 20:43 被阅读16次
    <!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>
    

    相关文章

      网友评论

        本文标题:Day.12.28 HTML走马灯

        本文链接:https://www.haomeiwen.com/subject/lbfuvttx.html