- Mastering Responsive Web Design
- Ricardo Zea
- 150字
- 2021-07-16 20:33:20
The <article> element
The HTML Article Element (
<article>
) represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable, e.g., in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, or any other independent item of content. Each<article>
should be identified, typically by including a heading (h1
-h6
element) as a child of the<article>
element.
Here are a few important points to remember about the <article>
element:
- Any self-contained content should be placed inside the
<article>
element.Self-contained means that if we take the
<article>
element and everything inside it out into another context, all the content is self-explanatory and does not need anything else around it to be understood. - An
<article>
can be nested inside another<article>
element. - There can be more than one
<article>
element in a single page.
Consider the following example:
<body> <main class="main-container" role="main"> <article class="article-container flex-container"> Content goes here </article> </main> </body>
- 少兒人工智能趣味入門:Scratch 3.0動畫與游戲編程
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- Arduino by Example
- Ext JS Data-driven Application Design
- Rake Task Management Essentials
- Magento 2 Development Cookbook
- Mastering Yii
- 深度學習:算法入門與Keras編程實踐
- Learning Apache Mahout Classification
- RabbitMQ Cookbook
- The Professional ScrumMaster’s Handbook
- 零基礎學C語言程序設計
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- The Statistics and Calculus with Python Workshop