HTML TAG小结

来源:互联网 发布:日本文化 知乎 编辑:程序博客网 时间:2024/06/10 16:20

HTML是门标签语言,简单的描述就是DOM(Documnt Object Model)对象模型.

整合下HTML的所有标签

结构
    * html
    * head
    * body
    * div
    * span

    * frameset

Meta Information
    * DOCTYPE
    * title
    * link
    * meta
    * style

文字
    * p
    * h1, h2, h3, h4, h5, h6
    * strong
    * em
    * abbr
    * acronym
    * address
    * bdo
    * blockquote
    * cite
    * q
    * code
    * ins
    * del
    * dfn
    * kbd
    * pre
    * samp
    * var
    * br

链接
    * a
    * base

图片、对象
    * img
    * area
    * map
    * object
    * param

列表
    * ul   defines an unordered (bulleted) list
    * ol   tag defines an ordered list
    * li 
    * dl : description list  描述事物的列表
    * dt : description terms   单个描述的事物
    * dd : desciption description   被描述事物的描述

表格
    * table
    * tr
    * td
    * th
    * tbody
    * thead
    * tfoot
    * col
    * colgroup
    * caption

表单
    * form
    * input
    * textarea
    * select
    * option
    * optgroup
    * button
    * label
    * fieldset
    * legend

脚本
    * script
    * noscript

文字修饰
    * b, i, tt, sub, sup, big, small, hr

W3School 资料:http://www.w3schools.com/tags

PS: 前台开发神器(WebStorm-6.0.2)

 

原创粉丝点击