In HTML, aside means "except..." and "narration". It is a new tag of HTML5 and is used to define content outside the "
" tag; the content of the aside tag should Relevant to nearby content.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
The
tags define independent content. The content defined by the tag must be meaningful in itself and must be independent of the rest of the document. Potential sources for
: forum posts, blog posts, news stories, comments
aside content should be relevant to nearby content. [Related recommendations: "htmlVideo Tutorial"]
Tips: The content of
The aside element is mainly used in the following two ways in website production
1) It is included in the article element as ancillary information part of the main content, and the content It can be relevant information related to the current article, ranking explanation, etc.
<article> <h1>…</h1> <p>…</p> <aside>…</aside> </article>
2) Use it outside the article element as a global subsidiary information part of the page or site. The most typical one is the sidebar, which contains friendly links, lists of other articles in the blog, advertising units, etc.
<aside> <h2>…</h2> <ul> <li>…</li> <li>…</li> </ul> <h2>…</h2> <ul> <li>…</li> <li>…</li> </ul> </aside>
For more programming-related knowledge, please visit: Programming Video! !
The above is the detailed content of What does aside mean in html. For more information, please follow other related articles on the PHP Chinese website!