{{ HTMLVersionHeader("5") }}
概要
The HTML Article Element (<article>) represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable, e.g., in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
Usage notes:
- When an
<article>
element is nested, the inner element represents an article related to the outer element. For example, the comments of a blog post can be<article>
elements nested in the<article>
representing the blog post. - Author information of an
<article>
element can be provided through the {{ HTMLElement("address") }} element, but it doesn't apply to nested<article>
elements. - The publication date and time of an
<article>
element can be described using the {{ htmlattrxref("pubdate", "time") }} attribute of a {{ HTMLElement("time") }} element.
Usage context
Permitted content | Flow content |
Tag omission | None, both the start tag and the end tag are mandatory |
Permitted parent elements | Any element that accept flow content. Note that an |
Normative document | HTML5, section 4.4.4 |
属性
This element has no other attributes than the global attributes, common to all elements.
DOM インタフェース
この要素は HTMLElement
インタフェースを実装します。
例
<article> <h4>A really awesome article</h4> <p>Lots of awesome text.</p> </article>
結果
<article>
A really awesome article
Lots of awesome text.
</article>互換性
{{ CompatibilityTable() }}
機能 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5 | {{ CompatGeckoDesktop("2.0") }} | 9.0 | 11.10 | 4.1 |
機能 | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 2.2 | {{ CompatGeckoMobile("2.0") }} | 9.0 | 11.0 | 5.0 (iOS 4.2) |
See also
- Others section-related elements: {{ HTMLElement("body") }}, {{ HTMLElement("nav") }}, {{ HTMLElement("section") }}, {{ HTMLElement("aside") }}, {{ HTMLElement("h1") }}, {{ HTMLElement("h2") }}, {{ HTMLElement("h3") }}, {{ HTMLElement("h4") }}, {{ HTMLElement("h5") }}, {{ HTMLElement("h6") }}, {{ HTMLElement("hgroup") }}, {{ HTMLElement("header") }}, {{ HTMLElement("footer") }}, {{ HTMLElement("address") }}
- Sections and outlines of an HTML5 document.