asp.net學習第一節課html1

來源:互聯網
上載者:User

標籤:

asp.net學習第一節課html1

1、無序列表與有序列表的應用執行個體。

代碼如下:

把代碼放在<body></body>標籤中。

<ul>
 <li>領導的效能
     <ol>
        <li>領導的權利
         <ul>
            <li>強制權利</li>
            <li>獎賞權利</li>
            </ul>
        </li>
        <li>領導的理論
         <ul>
            <li>持久倫</li>
            <li>強調倫</li>
            </ul>
        </li>
        </ol>
    </li>
</ul>

撐握知識點:

  1. <ul></ul>無序列表標籤
  2. <ol></ol>有序列表標籤
  3. <li> </li>標籤定義清單項目。
  4. <li> 標籤可用在有序列表 (<ol>) 和無序列表 (<ul>) 中。

2、表格的應用

代碼如下:

把代碼放在<body></body>標籤中。


<table width="500" height="100" border="1" bordercolor="#FF0000">
 <tr><th>姓名</th><th>學號</th><th>年齡</th><th>國籍</th></tr>
    <tr align="center"><td rowspan="3">張三</td><td colspan="3">01</td></tr>
    <tr align="center"><td>01</td><td>20</td><td>中國</td></tr>
        <tr align="center"><td>01</td><td>20</td><td>中國</td></tr>
</table>

撐握知識點:

  1. <table></table>表格標籤
  2. <tr></tr>是列標籤
  3. <th></th>是表頭標籤
  4. <td></td>是行中的儲存格
  5. <td colspan="所跨列數"></td>跨列
  6. <td rowspan="所跨行數"></td>跨行

 

asp.net學習第一節課html1

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.