Home  >  Article  >  Web Front-end  >  Aside Tag in HTML

Aside Tag in HTML

王林
王林Original
2024-09-04 16:21:101249browse

Aside tag in HTML mainly used to display important content of the webpage. It works as a highlighter to focus on the main things from the webpage. This tag in HTML is also used to make a division or make a partition for the web page, but this is used to focus only on the web page’s main contents. It is used to make the design of the webpage easier, which will give more clarity to included HTML document. The main placement area on the webpage for aside tag is in either sidebar or into the call-out boxes.

Syntax:

<body>
<aside>
<p>some text</p>
</aside>
</body>
  • The
  • It should be used either within an article element or outside of this article element. While using this tag with the article element, it must be included the article’s content. And whenever it is to be used outside of the article element, then it must include data related to the whole webpage.
  • This is considered as a block-level element in HTML. One may be able to use both block-level elements and inline elements within the
  • But like other tags,

Attributes of Aside Tag in HTML

Given below are the attributes of Aside Tag in HTML:

Global Attributes

There are multiple global attributes supported by the

Statement:
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
Previous article:Caption Tag in HTMLNext article:Caption Tag in HTML