zoukankan      html  css  js  c++  java
  • HTML列表标签

    <ul>无序列表 有2个属性

      1.compact 属性: 规定列表呈现的效果比正常情况更小巧。没啥作用

      2.type 属性

      • disc小圆点
      • square小方块
      • circle小圆圈(默认)

    <ol>有序列表
      1.type 属性:样式

     

      2.start从几开始。必须写数字

    <li>列表项目

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="utf-8">
            <title></title>
        </head>
        <body>
            <ul>
    
                <li>
                    <a href="https://www.baidu.com" target="_blank">
                        <font size="20px" color="aquamarine">百度</font>
                    </a>
                </li>
    
                <li>
                    <a href="https://cn.bing.com" target="_blank">
                      <font size="20px" color="aqua">必应</font>
                    </a>
                </li>    
        
            </ul>
        </body>
    </html>    
  • 相关阅读:
    探索需求14
    周总结5
    周总结4
    探索需求13
    Java——迭代器
    Java——Collection集合
    Java——包装类
    Java——Arrays
    Java——BigInteger、BigDecimal
    Java——System
  • 原文地址:https://www.cnblogs.com/rijiyuelei/p/12357285.html
Copyright © 2011-2022 走看看