Article introduction of Wulin.com (www.vevb.com): article elements can be nested, and the inner content needs to be associated with the outer content in principle. For example, in a blog post, comments to the article can be nested with article elements, and the article elements used to present the comments are included in the article elements representing the overall content.
The article element represents independent, complete, and externally referenced content in a document, page, or application. It can be an article in a blog or newspaper, a forum post, a user comment, or any other independent content.
In addition to the content part, an article element is often used as its own title, and sometimes it has its own footnotes.
Here is an example of an article element:
<article> <header><h1>Title</h1><p>Published on: <time pubdate=pubdate>July 10, 2011</time></p> </header> <footer><p>w3cmm All rights reserved</p> </footer></article>Article elements can be nested, and in principle, the content of the inner layer needs to be associated with the content of the outer layer. For example, in a blog post, comments to the article can be nested with article elements, and the article elements used to present the comments are included in the article elements representing the overall content.
Here is an example of code about the article element:
<article> <header><h1>Title</h1><p>Published on: <time pubdate=pubdate>July 10, 2011</time></p> </header> <section><h2>Comments</h2><article><header><h3>Zhang San's Comments</h3><p>12 minutes ago</p></header><p>…</p></article><article><header><h3>Li Si's Comments</h3><p>15 minutes ago</p></header><p>…</p></article> </section></article>