1 文章元素 The <article> Element
Article is a self-contained, independent piece of content that can be used and distributed separately from the rest of the page or site. This could be a forum post, a magazine or newspaper article, a blog entry, a comment, an interactive widget or gadget, or any other independent piece of content. The <article> element replaces the <div> element that was widely used in HTML4, along with an id or class.
文章是一个独立的内容,可以与页面或站点的其余部分分开使用和分发。这可以是论坛帖子,杂志或报纸文章,博客条目,评论,互动小部件或小工具,或任何其他独立内容。
当<article>元素嵌套时,内部元素表示与外部元素相关的文章。 例如,博客帖子评论可以是嵌入在博客文章的<article>中的<article>元素。
2、节 The <section> Element
<section> is a logical container of the page or article. Sections can be used to divide up content within an article. For example, a homepage could have a section for introducing the company, another for news items, and still another for contact information.
<section>是页面或文章的逻辑容器。
部分可用于分割文章中的内容。
例如,主页可以有一个介绍公司的部分,另一个用于新闻项目,另一个用于联系信息。
Each <section> should be identified, typically by including a heading (h1-h6 element) as a child of the <section> element.
应该识别每个<section>,通常通过将标题(h1-h6元素)包含为<section>元素的子元素。
3 侧边栏 The <aside> Element
<aside> is secondary or tangential content which could be considered separate from but indirectly related to the main content.This type of content is often represented in sidebars.When an <aside> tag is used within an <article> tag, the content of the <aside> should be specifically related to that article.
除了主要内容或切向内容之外,可以将其视为与主要内容分开但间接相关的。
这种类型的内容通常用侧栏表示。
当<article>标签中使用<aside>标签时,<aside>的内容应与该文章具体相关。