zoukankan      html  css  js  c++  java
  • list-style-type 去除li 前面的标记(小黑点)

    list-style-type 设置标记的样式(或者隐藏标记)


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <style type="text/css">        
            ul 
            { 
                list-style-type:disc;
            }
             ul#none
            { 
                list-style-type:none;
            }
            
            ul#circle
            { 
                list-style-type:circle;
            }
    
            ul#square
            { 
                list-style-type:square;
            }
    
            ul#decimal
            { 
                list-style-type:decimal;
            }
    
            ul#decimal-leading-zero
            { 
                list-style-type:decimal-leading-zero;
            }
    
            ul#lower-roman
            { 
                list-style-type:lower-roman;
            }
    
            ul#upper-roman
            { 
                list-style-type:upper-roman;
            }
    
            ul#lower-greek
            { 
                list-style-type:lower-greek;
            }
    
            ul#lower-latin
            { 
                list-style-type:lower-latin;
            }
    
            ul#upper-latin
            { 
                list-style-type:upper-latin;
            }
    
            ul#armenian
            { 
                list-style-type:armenian;
            }
    
            ul#georgian
            { 
                list-style-type:georgian;
            }
    
            ul#lower-alpha
            { 
                list-style-type:lower-alpha;
            }
    
            ul#upper-alpha
            { 
                list-style-type:upper-alpha;
            }
    
           
    
            ol 
            { 
                list-style-type:lower-roman;
            }
        </style>
    </head>
    <body>
    <ul id="none">
        <li>list-style-type:none</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="circle">
        <li>list-style-type:circle</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="square">
        <li>list-style-type:square</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="decimal">
        <li>list-style-type:decimal</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="decimal-leading-zero">
        <li>list-style-type:decimal-leading-zero</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="lower-roman">
        <li>list-style-type:lower-roman</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="upper-roman">
        <li>list-style-type:upper-roman</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="lower-greek">
        <li>list-style-type:lower-greek</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="lower-latin">
        <li>list-style-type:lower-latin</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="upper-latin">
        <li>list-style-type:upper-latin</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="armenian">
        <li>list-style-type:armenian</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="georgian">
        <li>list-style-type:georgian</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="lower-alpha">
        <li>list-style-type:lower-alpha</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    <ul id="upper-alpha">
        <li>list-style-type:upper-alpha</li>
        <li>中国</li>
        <li>美国</li>
    </ul>
    
    </body>
    </html>
    




  • 相关阅读:
    mybatis 二级缓存
    前端学习记
    消息队列高手课 笔记11
    cache业务
    这个前端课程主要讲mui框架
    spring cloud stream
    最近学习freemarker
    说点什么
    即将进入Windows 11时代,DevExpress控件将会有哪些改变呢?
    UI开发框架Kendo React R3 2021更新亮点——新的 React 组件
  • 原文地址:https://www.cnblogs.com/mengfanrong/p/4093215.html
Copyright © 2011-2022 走看看