The <article> element represents a complete composition in a web page or web application that is 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.1
At its most basic, <article> can be used to encapsulate a body of text and a corresponding title like so:
Forum entries and comments are typically implemented by nesting <article> tags:
The <article> element only includes the global HTML attributes such as contenteditable, id, and title.2 However, pubdate, an optional boolean attribute of the <time> element, is often used in conjunction with <article>. If present, it indicates that the <time> element is the date the <article> was published. Note that pubdate applies only to the parent <article> element, or to the document as a whole.3
HTML5 introduced both <article> and <section>; both are semantic tags, defining sections in a document, such as chapters, headers, footers.4[unreliable source?] The <article> element is effectively a specialized kind of <section> and it has a more specific meaning, referring to an independent, self-contained block of related content.56
To better organize independent content <section> tags can be nested inside <article> tags:
Conversely, it may sometimes be appropriate to nest an <article> element inside a <section> element. For example, in a web page containing several articles on varying subjects:
The following browsers have support for this element:7
"HTML5 article element - W3C". W3.org. Retrieved 2014-05-08. http://www.w3.org/TR/html5/sections.html#the-article-element ↩
"The Article Contents element". MDN Web Docs. Retrieved 2018-07-09. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article ↩
"The article element". html5doctor.com. Retrieved 2018-07-09. http://html5doctor.com/the-article-element/ ↩
"The section tag". W3Schools. 2014-04-30. Retrieved 2014-05-08. https://www.w3schools.com/tags/tag_section.asp ↩
"HTML5: Section or Article?". Iandevlin.com. 2013-08-19. Retrieved 2014-05-08. http://www.iandevlin.com/blog/2011/04/html5/html5-section-or-article ↩
"Can I use... Support tables for HTML5, CSS3, etc". caniuse.com. Retrieved 2018-07-09. http://caniuse.com/#search=article ↩