zoukankan      html  css  js  c++  java
  • 神奇的marquee--滚动的文字

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8">
            <title></title>
        </head>
        <body>
            <!--size是字体大小-->
            <marquee>
                <font face="微软雅黑" color="#8A2BE2" size="1">
                    hello!marquee
                </font>
            </marquee>
            <marquee direction="down" width="100" height="100">
                <font face="仿宋" color="#5F9EA0" size="2">
                    the day you went the day!
                </font>
            </marquee>
            <marquee direction="up">
                <font face="arial black" color="#7FFFD4" size="3">
                    today is 2016-12-22
                </font>
            </marquee>
            <!--滚动一次-->
            <marquee behavior="slide">
                <font face="arial black" color="#7FFFD4" size="4" >
                    that day is 1
                </font>
            </marquee>
            <!--左右来回交替滚动-->
            <marquee behavior="alternate">
                <font face="arial black" color="#7FFFD4" size="5" >
                    that day is 2
                </font>
            </marquee>
            <!--循环滚动-->
            <marquee behavior="scroll">
                <font face="arial black" color="#7FFFD4" size="6" >
                    that day is 3
                </font>
            </marquee>
            <!--scorllamount设置滚动速度-->
            <marquee scrollamount="3">
                <font face="arial black" color="#7FFFD4" size="6" >
                    that day is 4
                </font>
            </marquee>
            <marquee scrollamount="6">
                <font face="arial black" color="#7FFFD4" size="5" >
                    that day is 5
                </font>
            </marquee>
            <marquee scrollamount="9">
                <font face="arial black" color="#7FFFD4" size="4" >
                    that day is 6
                </font>
            </marquee>
            <!--scrolldelay滚动延迟-->
            <marquee scrollamount="100" scrolldelay="100">
                <font face="arial black" color="#7FFFD4" size="6" >
                    that day is 7
                </font>
            </marquee>
            <marquee scrollamount="100" scrolldelay="200">
                <font face="arial black" color="#7FFFD4" size="5" >
                    that day is 8
                </font>
            </marquee>
            <marquee scrollamount="100" scrolldelay="300">
                <font face="arial black" color="#7FFFD4" size="4" >
                    that day is 9
                </font>
            </marquee>
            <!--loop滚动循环次数-->
            <marquee direction="up" loop="10"> <!--循环10次-->
                <font face="arial black" color="#7FFFD4" size="7" >
                    that day is 10
                </font>
            </marquee>
            <!--width、height滚动范围设置-->
            <marquee behavior="alternate" bgcolor="#DEB887" width="500" height="100">
                <font face="arial black" color="#7FFFD4" size="6" >
                    that day is 11
                </font>
            </marquee>
            <!--hspace、vspace滚动空间设置-->
            <marquee hspace="100" vspace="100">
                <font face="arial black" color="#7FFFD4" size="6" >
                    that day is 12
                </font>
            </marquee>
            <!--背景音乐-->
            <bgsound src="music/" loop="5"></bgsound>
            <!--多媒体文件标记-->
            <embed src="" width="播放界面宽度" height="播放界面高度"></embed>
            <!--autostart自动运行|loop是否循环|hidden是否隐藏-->
            <embed src="" autostart="true/false"  loop="true" hidden="true" width="播放界面宽度" height="播放界面高度"></embed>
    
        </body>
    </html>
    ..
  • 相关阅读:
    一个Spring的应用看起来象什么?
    IOC的优点是什么?
    解释对象/关系映射集成模块?
    XMLBeanFactory?
    使用Spring框架的好处是什么?
    什么是Spring MVC框架的控制器?
    什么是Spring的MVC框架?
    在Spring AOP 中,关注点和横切关注的区别是什么?
    你更倾向用那种事务管理类型?
    Spring支持的事务管理类型?
  • 原文地址:https://www.cnblogs.com/shoolnight/p/6408779.html
Copyright © 2011-2022 走看看