zoukankan      html  css  js  c++  java
  • HTMLandCSS W3C之二

    1 Table

    <h4>横跨两列的单元格:</h4>
    <table border="1">
    <tr>
      <th>姓名</th>
      <th colspan="2">电话</th>
    </tr>
    <tr>
      <td>Bill Gates</td>
      <td>555 77 854</td>
      <td>555 77 855</td>
    </tr>
    </table>

    <h4>横跨两行的单元格:</h4>
    <table border="1">
    <tr>
      <th>姓名</th>
      <td>Bill Gates</td>
    </tr>
    <tr>
      <th rowspan="2">电话</th>
      <td>555 77 854</td>
    </tr>
    <tr>
      <td>555 77 855</td>
    </tr>
    </table>

     边框边距

    <table border="1"
    cellpadding="10">

    </table>

    单元格间距

    <table border="1"
    cellspacing="10">

    </table>

    2 列表

    <ul type="disc"> 或者 <ul type="circle"> 或者 <ul type="square">
    <li>Coffee</li>
    <li>Milk</li>
    </ul>
    有序列表
    <ol type="A"> 或者 <ol type="a"> 或者 <ol type="i"> <li>Coffee</li> <li>Milk</li> </ol>
    3 <fieldset>
    <legend>健康信息:</legend>
    <form>
    <label>身高:<input type="text" /></label>
    <label>体重:<input type="text" /></label>
    </form>
    </fieldset>
  • 相关阅读:
    多进程
    NoSQL-memcached相关
    NoSQL-redis相关
    DB相关复习
    算法
    SQLAlchemy
    Mysql相关
    Python DB-API
    正则习题
    python的正则——re模块
  • 原文地址:https://www.cnblogs.com/zjwei55/p/2138503.html
Copyright © 2011-2022 走看看