Topic: HTML5 Tags ReferencePrev|Next
<article> element represents a section of content that forms an independent part of a document, such as a blog post, article, or other self-contained unit of information, that may be linked to or included in some other content body.
The following table summarizes the usages context and the version history of this tag.
|Content:||Block, inline, and text|
|Start/End Tag:||Start tag: required, End tag: required|
|Version:||New in HTML5|
The basic syntax of the
<article> tag is given with:
The example below shows the
<article> tag in action.
ExampleTry this code »
<article> <h1>Introduction to HTML</h1> <p>HTML is a markup language that is used for creating web pages.</p> </article>
<article> tag doesn't have any specific attribute.
Like all other HTML tags, the
<article> tag supports the global attributes in HTML5.
<article> tag also supports the event attributes in HTML5.
<article> tag is supported in all major modern browsers.
See tutorial on: HTML Text Formatting.