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

    一、 无序列表

    <ul>
    <li></li>    列表项
    <li></li>
    <li></li>
    </ul>
    •  type=”square”      小方块
    • Type=”disc”       实心小圆圈
    • Type=”circle”      空心小圆圈
    <!-- 无序列表 -->
        <ul>
            <li>列表内容</li>
            <li>列表内容</li>
        </ul>
        <ul type="disc">
            <li>列表内容</li>
            <li>列表内容</li>
        </ul>
        <ul type="square">
            <li>列表内容</li>
            <li>列表内容</li>
        </ul>
        <ul type="circle">
            <li>列表内容</li>
            <li>列表内容</li>
        </ul>

    二、有序列表

    <ol>
    <li></li>    列表项
    <li></li>
    <li></li>
    
    </ol>
    <!-- 有序列表 -->
        <ol start="2">
            <li>列表内容</li>
            <li>列表内容</li>
        </ol>
        <ol type="A" start="3">
            <li>列表内容</li>
            <li>列表内容</li>
        </ol>
        <ol type="i">
            <li>列表内容</li>
            <li>列表内容</li>
        </ol>
    • type=”1,a,A,i,I” type的值可以为1,a,A,i,I  start=”3”  决定了开始的位置。

    三、自定义列表

    <dl>
     <dt></dt>    小标题
      <dd></dd>   解释标题
      <dd></dd>   解释标题
    </dl>
    <!-- 自定义列表 -->
        <dl>
        <dt>小标题</dt>
        <dd>解释</dd>
        <dd>解释</dd>
        </dl>
  • 相关阅读:
    hdu 1087(LIS变形)
    poj 1088(记忆化搜索)
    hdu 1505(最大子矩阵)
    hdu 1506(好题+DP或者RMQ)
    poj 2593&&poj2479(最大两子段和)
    hdu 1003(最大子段和)
    hdu 2881(LIS变形)
    poj 1692(动态规划)
    CodeForces 626C Block Towers
    CodeForces 626B Cards
  • 原文地址:https://www.cnblogs.com/EricZLin/p/8605457.html
Copyright © 2011-2022 走看看