HTML5 元素
下面的表格是目在HTML5 working draft中的104个元素与两 proposed 元素(marked with an asterisk)。单击每个元素可以查看元素说明
html
|
col
|
table
|
|||||||||||||||
<head>First element of the HTML document. Contains document metadata. head
|
span
|
div
|
fieldset
|
form
|
body
|
h1
|
<section>Contains elements grouped by theme, for example a chapter or tab box. section
|
colgroup
|
tr
|
||||||||
title
|
a
|
pre
|
meter
|
select
|
<aside>Content related to surrounding elements that doesn't belong inline, such as a advertising or quotes. aside
|
h2
|
<header>Navigation or introductory elements for the current section. header
|
caption
|
td
|
||||||||
meta
|
rt
|
dfn
|
em
|
i
|
small
|
ins
|
s
|
br
|
p
|
blockquote
|
legend
|
optgroup
|
address
|
h3
|
nav
|
menu
|
th
|
<base>Specifies URL which non-absolute URLs are relative to. base
|
<rp>Contains semantically meaningless markup for browsers that don't understand ruby annotations. rp
|
abbr
|
time
|
<b>Stylistically separated text of equal importance, such as a product name. b
|
strong
|
del
|
kbd
|
hr
|
ol
|
dl
|
label
|
option
|
datalist
|
h4
|
<article>Section of the page content, such as a blog or forum post.页面内容的独立部分,如博客文章、论坛帖子 article
|
<command>Command the user can perform, such as publishing an article. command
|
tbody
|
link
|
<noscript>Contains elements that are part of the document only if scripting is disabled. noscript
|
q
|
var
|
sub
|
mark
|
<bdi>Text that is separated from directional formatting of its surroundings. bdi
|
wbr
|
figcaption
|
ul
|
dt
|
input
|
output
|
keygen
|
h5
|
footer
|
summary
|
thead
|
style
|
script
|
cite
|
samp
|
sup
|
<ruby>Contains text with annotations, such as pronounciation hints. Commonly used in East Asian text. ruby
|
bdo
|
code
|
<figure>Contains elements related to single concept, such as an illustration or code example. figure
|
li
|
dd
|
textarea
|
button
|
progress
|
h6
|
<hgroup>Collection of headings for the current section. The highest ranked heading represents the group in the document outline. hgroup
|
<details>Contains additional information, such as the contents of an accordian view. details
|
tfoot
|
- 根元素
- 文本级别语义
- 表单
- 表格数据
- 元数据和脚本
- 组合内容
- 文档章节
- 交互元素