What does aside mean in html

青灯夜游
Release: 2023-01-03 09:24:12
Original
10493 people have browsed it

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.

What does aside mean in html

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

What does aside mean in html

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template