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>  顾名思义  这里就不多说了

  • 相关阅读:
    如何运行github下载的vue项目
    vue初级学习--使用 vue-resource 请求数据
    vue初级学习--组件的使用(自定义组件)
    vue初级学习--路由router的编写(resolve的使用)
    sass学习--在htm文件中使用
    sass学习--安装ruby
    小技巧记录
    vue-修改vue项目运行端口号
    vue初级学习--控制台创建vue项目
    vue初级学习--idea的环境搭建
  • 原文地址:https://www.cnblogs.com/zhouliang/p/zhouliang.html
Copyright © 2011-2022 走看看