HTML中 dt dl dd ul li 等标签 英语单词

1. html中的部分标签缩写的英文是什么?

    • ul是unordered lists的缩写   (无序列表)

    • li是list item的缩写  (列表项目)

    • ol是ordered lists的缩写  (有序列表)

    • dl是definition lists的英文缩写   (自定义列表)

    • dt是definition term的缩写   (自定义列表组)

    • dd是definition description的缩写  (自定义列表描述)

    • nl是navigation lists的英文缩写   (导航列表)

    • tr是table row的缩写   (表格中的一行)

    • th是table header cell的缩写   (表格中的表头)

    • td是table data cell的缩写   (表格中的一个单元格)

  • cell (细胞)[翻译的好怪.]

  • cellspacing (细胞间隙 是指边框中间的间距)

    • For example
    •  
       1 <h4>没有 cellspacing:</h4>
       2 <table border="1"><!--注意只要写了border默认为1-->
       3 <tr>
       4   <td>First</td>
       5   <td>Row</td>
       6 </tr>   
       7 <tr>
       8   <td>Second</td>
       9   <td>Row</td>
      10 </tr>
      11 </table>
      12 
      13 <h4>带有 cellspacing:10</h4>
      14 <table border="1" 
      15 cellspacing="10">
      16 <tr>
      17   <td>First</td>
      18   <td>Row</td>
      19 </tr>   
      20 <tr>
      21   <td>Second</td>
      22   <td>Row</td>
      23 </tr>
      24 </table>
      View Code
    •  

  • cellpadding (补白,是指单元格内文字与边框的距离)

    • For example
    • <h4>没有 cellpadding:</h4>
      <table border="1">
      <tr>
        <td>First</td>
        <td>Row</td>
      </tr>   
      <tr>
        <td>Second</td>
        <td>Row</td>
      </tr>
      </table>
      
      <h4>带有 cellpadding:10</h4>
      <table border="1" 
      cellpadding="10">
      <tr>
        <td>First</td>
        <td>Row</td>
      </tr>   
      <tr>
        <td>Second</td>
        <td>Row</td>
      </tr>
      </table>
      View Code

       

    •  

转自:https://www.zybang.com/question/ce98ec4070ffb23852010cc7672ae011.html

 

2.js css HTML 注释标签

①js注释

  • 单行注释 --------------》  //这是注释的content
  • 多行注释--------------》/*这是多行注释content*/

②css注释

  • 注释内容------------》/*这是注释content*/

③Html注释

  • 注释内容-------------》<!--这是注释content-->   or   <!--这是注是内容--!>
posted @ 2019-02-27 20:25  请叫我怪兽  阅读(1461)  评论(0编辑  收藏  举报