Warning:
This wiki has been archived and is now read-only.
HTML5/sections
From HTML5 Chinese Interest Group Wiki
< HTML5
区块
body元素
- 分类:
- 区块根
- 使用场景:
- 做为
html元素内的第二个元素。 - 内容模型:
- 流式内容
- 允许的属性:
- 全局属性
onafterprintonbeforeprintonbeforeunloadonbluronerroronfocusonhashchangeonloadonmessageonofflineononlineonpagehideonpageshowonpopstateonredoonresizeonscrollonstorageonundoonunload
- DOM接口:
- interface HTMLBodyElement : HTMLElement { attribute Function onafterprint; attribute Function onbeforeprint; attribute Function onbeforeunload; attribute Function onblur; attribute Function onerror; attribute Function onfocus; attribute Function onhashchange; attribute Function onload; attribute Function onmessage; attribute Function onoffline; attribute Function ononline; attribute Function onpopstate; attribute Function onpagehide; attribute Function onpageshow; attribute Function onredo; attribute Function onresize; attribute Function onscroll; attribute Function onstorage; attribute Function onundo; attribute Function onunload; };
section元素
- 分类:
- 流式内容
章节式内容formatBlock候选 - 使用场景:
- 在期望流式内容处。
- 内容模型:
- 流式内容
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement
- 分类:
- 流式内容。
章节式内容。formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
article元素
- 分类:
- 流式内容。
章节式内容。formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
aside元素
- 分类:
- 流式内容。
章节式内容。formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
h1,h2,h3,h4,h5和h6元素
- 分类:
- 流式内容。
标题式内容。formatBlock候选。
- 使用场景:
- 做为
hgroup元素的子元素。
需要流式内容处。
- 内容模型:
- 段落式内容。
- 允许的属性:
- 全局属性
- DOM接口:
- interface HTMLHeadingElement : HTMLElement {};
hgroup元素
- 分类:
- 流式内容。
标题式内容。formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 一个或多个h1,h2,h3,h4,h5和/或h6元素。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
header元素
- 分类:
- 流式内容。
formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容, 但不能有
header元素或footer元素出现。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
- 分类:
- 流式内容。
formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容, 但不能有
header元素或footer元素出现。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。
address元素
- 分类:
- 流式内容。
formatBlock候选。
- 使用场景:
- 需要流式内容处。
- 内容模型:
- 流式内容, 不能有标题式内容出现, 不能有章节式内容出现, 不能有
header元素,footer元素或者address元素出现。
- 允许的属性:
- 全局属性
- DOM接口:
- 使用
HTMLElement。