zoukankan      html  css  js  c++  java
  • html图像 表格 列表

    创建图像映射

    <img src="/demo/planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">
    <map name="planetmap">
    <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm">
    <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm">
    <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm">
    </map>

    创建表格
    表格由

    标签来定义。每个表格均有若干行(由 标签定义),每行被分割为若干单元格(由
    标签定义)。字母 td 指表格数据(table data),即数据单元格的内容。数据单元格可以包含文本、图片、列表、段落、表单、水平线、表格等等

    <table border="10">
    <tr>
    <td>100</td>
    </tr>
    </table>
    
    
    <table border="1">
    <caption>Monthly savings</caption>
    <tr>
    <th>Header 1</th>
    <th colspan="2">Telephone</th>
    </tr>
    <tr>
    <td>100</td>
    <td>200</td>
    <td>300</td>
    </tr>
    </table>
    
    
    <table border="1">
    <tr>
    <td>100</td>
    <td>200</td>
    <td>300</td>
    </tr>
    <tr>
    <td>400</td>
    <td>500</td>
    <td>600</td>
    </tr>
    </table>
    

    无序列表

    <ul style="list-style-type:disc">   #square/ circle
    <li>Coffee</li>
    <li>Tea</li>
    <li>Milk</li>
    </ul>
    

    有序列表

    <ol>
    <li>Coffee</li>
    <li>Tea</li>
    <li>Milk</li>
    </ol>
    
    <ol start="50">
    <li>Coffee</li>
    <li>Tea</li>
    <li>Milk</li>
    </ol>
    
    <ol type="A">   #a,i,I
    <li>Apples</li>
    <li>Bananas</li>
    <li>Lemons</li>
    <li>Oranges</li>
    </ol>

    嵌套列表

    <ul>
    <li>Coffee</li>
    <li>Tea
    <ul>
    <li>Black tea</li>
    <li>Green tea
    <ul>
    <li>China</li>
    <li>Africa</li>
    </ul>
    </li>
    </ul>
    </li>
    <li>Milk</li>
    </ul>
  • 相关阅读:
    深入AXI4总线- [一]握手机制
    《数字集成电路静态时序分析基础》笔记⑩
    搭建自己的gitlab
    idea连接github问题
    itguang
    [转]springboot+idea热部署(自动刷新)
    25匹马,5条赛道,一匹马一个赛道,求决胜1,2,3名至少多少场
    [转]PostgreSQL主从流复制部署
    [转]centos7 安装jdk11 并设置默认java版本
    [转]centos7 修改yum源为阿里源
  • 原文地址:https://www.cnblogs.com/fanren224/p/8457292.html
Copyright © 2011-2022 走看看