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>

</colgroup>                                                          可以分别给不同位置设置不同颜色    这里是两列红色    一列黄色

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

相关文章:

  • 2021-08-10
  • 2021-12-07
  • 2021-04-23
猜你喜欢
  • 2021-08-29
  • 2022-01-14
  • 2021-12-22
  • 2021-10-03
  • 2022-01-02
  • 2021-05-21
  • 2022-12-23
相关资源
相似解决方案