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   <!--这是注是内容--!>

转载于:https://www.cnblogs.com/520Girl/p/10446572.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值