html中的滚动标签

来源:互联网 发布:数据库删除后恢复 编辑:程序博客网 时间:2024/05/21 08:39
<html>
   <head>
    <title>列表的例子</title>
   </head>
   <body>
    <!--
    滚动:
      标签:<marquee></maequee>
      属性:1.loop="1"   滚动次数
        2.scrollamount 滚动速度
        3.behavior    值:scroll(单向滚) | alternate (来回滚)

        4.direction   值:up,down,left,right(设置滚动方向)

还有其他属性,但是本宝宝不想写了。。。。

    -->
    <marquee behavior="scroll" scrollamount="100" loop="30"><h1>今天天气很好</h1></marquee>
    <marquee behavior="alternate" scrollamount="100" loop="300" direction="down">今天天气很</marquee>
   </body
</html>
0 0