初学HTML-10

marquee标签:设置文字滚动效果。

      格式:<marquee>文字滚动</marquee>

      属性:direction:设置滚动方向:left / right / up / dowm

            <marquee direction="right">文字滚动</marquee>

         scrollamount:设置滚动速度,值越大越快。

            <marquee scrollamount="1">文字滚动</marquee>

         loop:设置滚动次数,默认是 -1,也就是无限次滚动。

            <marquee loop="1">文字滚动</marquee>

         behavior:设置滚动类型。

              slide滚动到边界就停止,alternate滚动到边界就弹回。

             <marquee behavior="slide">文字滚动</marquee>

       设置图片滚动:<marquee>

                <img src="image/nj.jpg" width="50px">

              </marquee>

一些字符:空格:&nbsp;

     小于符号:&lt; (less than)

     大于符号:&gt;  (greater than)

     版权符号:&copy;

         

原文地址:https://www.cnblogs.com/olive2014/p/10287792.html