zoukankan      html  css  js  c++  java
  • 前端标签记忆-学习笔记

    1. 强调标签:<em>斜体强调   <strong>粗体强调   直接用span控制也可以实现该效果  font-size   font-weight
    2. 分行标签:<br/>
    3. 水平横线标签:<hr/>         效果:                                                                                                                                                                6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666                                                                                                                                                          
                                                                                                                                                                                                         2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222         
    4. 地址标签:<address>默认为独占一行斜体
    5. a标签里可以写邮件连接:<a href="mailto:*********?cc:********&bcc:*********&subject=**&body=**"</a>
    6. 表单:
      <form    method="post"   action="save.php">
              <label for="username">用户名:</label>
              <input type="text" name="username" />
              <label for="pass">密码:</label>
              <input type="password" name="pass" />
      </form>
    7. <form action="save.php" method="post" >
      <label>性别:</label>
      <label>男</label>
      <input type="checkbox" value="1" name="gender-man" />
      <label>女</label>
      <input type="checkbox" value="2" name="gender-woman" />
      </form>

    8. submit:提交   <input type="submit" value="提交" name="submitBtn" />         reset:重置
    9. letter-spacing控制文字间距
    10. 今天学JS遇到html的槛了,过来补一下

    table:表格

    1.caption     定义表格标题也就是表格的名字

    2.<th>       表格的表头     粗体居中

    3.<tr>       表格的行        <td>将行划分成多个单元格

    4.<colgroup span="4" style="background-color:red"></colgroup>  这里是设置颜色

    5.<colgroup>

    <col span="2" style="background-color:red">

    <col style="background-color:yellow">
    </colgroup>                                                          可以分别给不同位置设置不同颜色    这里是两列红色    一列黄色

    6.<thead> <tbody> <tfoot>  顾名思义  这里就不多说了

  • 相关阅读:
    C#运行Javascript脚本Utility
    SQL Mail XPs Options
    TSQL AVG Functions
    eclipse编译时过滤SVN版本控制信息方法(转)
    追MM与设计模式
    android的性能调优
    对象的赋值和复制(转)
    SVN Working Copy xxx locked and cleanup failed
    HTTP协议详解(转)
    atoi和itoa函数的实现
  • 原文地址:https://www.cnblogs.com/zhouliang/p/zhouliang.html
Copyright © 2011-2022 走看看