A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/article below:

article · WebPlatform Docs

article Summary

The article element (<article>) defines a self-contained composition within a page.

Overview Table
DOM Interface
HTMLElement

“Article” is an element, first introduced in HTML5, for the purpose of relieving “div” fatigue and overuse. An article element might represent content like a:

or any other independent item of content.

When article elements are nested, the inner article should be related to the contents of the outer article. For example, a blog entry on a site that accepts user-submitted comments might represent the comments as article elements nested within the article element for the blog entry.

Examples

The following example shows the basic structure of an article using article, header, and footer elements.

<article>
 <header>
  <h1>Article Heading</h1>
 </header>
 <p>Article Text</p>
 <p>...</p>
 <footer>Article Footer</footer>
</article>
Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
See also Other articles

nav - The HTML navigation element is often used as a child element of the article tag.

External resources Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4