zoukankan      html  css  js  c++  java
  • HTML 标签

    排版标签

      <!-- -->注释

      <br/>换行

      <p></p>段落

      <hr/>水平线

        width 宽度  百分比;像素

        size 粗细

        noshade 阴影

        align 对齐方式 center ;left;right

      <div></div>层(块标签) 换行

      <span></span> 不会换行

      <pre></pre>预格式化(了解)

      <center></center>居中(了解)

    字体标签

      <h6>---<h1>标题标签 从小到大

      <font></font>字体标签

        size 大小

        color 颜色  red;#FF0000;rgb(255,0,0)

        face 字体类型

      <sub></sub>下标记

      <sup></sup>上标记

      &lt;小于  &gt;大于  &yen;元 &trade;商标  &copy;版权

    图像标签

      <img></img>

        scr 路径(绝对路径或者相对路径)

        width 宽度

        height 高度

        alt 标记

        align 图片附近文字相对图片位置  center;top;bottom

    表单标签

      有序列表

      <ol>

        <li></li>

        ```````

      </ol> 

        type 序号类型(a,A,i,I)

        start=“数字” 序号开始位置

      无序列表

      <ul>

        <li></li>

        ```````

      </ul>

        type 序号类型  disc;circle;square

      自定义列表

      <dl>

        <dt>可以嵌套<img></dt>  标题

        <dd></dd> 数据

      </dl>  

     超链接

      <a>

        href  http://www.baidu.com  

            xxxx.html  

            mailto:xxxx@163.com

            xxx.js

            zip文件

        name =“定义锚地址” href=“#地址”

    表单

      colspan 跨列数 rowspan 跨行数

      <table> width 宽度 height 高度 align 表格位置 border 边框 bordercolor 边框颜色 cellspacing 里边框与外边框距离 cellpadding 表内数据里上下边框的距离

        <caption></caption>表单表头

        <tr>行 align 

           <th></th>表头

        </tr>

        <tr>

          <td></td>单列

        </tr>

      </table>

      加载块联合table使用

        先加载<thead></thead> 后加载<tbody></tbody> 最后加载<tfoor></tfoot>

  • 相关阅读:
    C#下给数字前面补0的方法
    Notepad++ xml 文件不能语法着色的问题解决
    excel 技巧
    编译时报警 implicit declaration of function
    配置ASP.NET平台时遇到的“访问IIS元数据库失败”解决方案
    用360安全卫士批量本地快速给系统打补丁【转贴】
    新雨情系统随笔
    我的开发博客开通了
    JQuery资料
    IGNORE_DUP_KEY = OF的作用
  • 原文地址:https://www.cnblogs.com/reaptomorrow-flydream/p/6200809.html
Copyright © 2011-2022 走看看