VOOZH about

URL: https://www.geeksforgeeks.org/html/html5-aside-tag/

⇱ HTML aside Tag - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML aside Tag

Last Updated : 21 May, 2026

The HTML <aside> tag defines content that is related to the main content but not part of its primary purpose, often used as a sidebar or highlight.

  • Contains supplementary information like author details or related links.
  • Supports content that enhances or explains the main content.
  • Commonly used for sidebars, notes, or highlights.
  • Improves semantic structure of a webpage.

Note: The <aside> tag supports global and event attributes in HTML. It was introduced in HTML5 and does not have any default styling in browsers, so CSS is required for its presentation.

Syntax

<aside>
<!-- related or supplementary content -->
</aside>
  • The <aside> tag defines content that is related to the main content but not essential to it.
  • It is commonly used for sidebars, notes, or additional information.

Example: Using the <aside> tag as a sidebar

Comment
Article Tags:
Article Tags: