What is the difference between the article element and the section element of HTML5?
Source: Internet
Author: User
<span id="Label3"></p><p>In HTML5, several structural elements associated with the document structure, such as headers, footers, and content chunks, are appended to make the document more clearly Structured. A content chunk is a unit of logically splitting an HTML page. For example, for books, chapters and sections can be called Content chunks, and for a blog site, the navigation menu, the body of the article, the comments of the article, and so on, can be called content chunks.<br>What do these two elements mean when there are two elements in the new principal structure element in HTML5 that are Article elements and section elements, respectively? What chunks of content are commonly used? When to use article elements? When to use a section element? What is the difference between the two?<br><span style="color: #ff0000;"><strong><strong>first, article elements</strong></strong><br><span style="color: #000000;">the <span style="color: #000000;">article element represents a separate, complete, 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 a standalone plugin, or any other independent piece of Content. In addition to the content section, a article element usually has its own title (typically placed inside a header element), and sometimes its own footnotes. </span></span><br><span style="color: #000000;"><span style="color: #000000;">Now let's take a blog as an example of a code sample of the article element with the following code:</span></span><span id="more-1457"><br><span style="color: #000000;"><span style="color: #000000;"><article></span></span><br><span style="color: #000000;"><span style="color: #000000;">
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.