HTML aside tag

HTML <aside> tag forms a section of content that is separate from the main content. aside is a flow type element and is tangentially related to the central topic.


<h2> A simple side bar </h2>
  <li> <a href="#"> List </a> </li>
  <li> <a href="#"> Home </a> </li>
  <li> <a href="#"> Education </a> </li>
  <li> <a href="#"> Sports </a> </li>

Try </>

Specific Uses

aside tag usually represents a sidebar because sidebar is repeated across different pages. And it can also be used for advertising section on the web page of a website.

Related tags

<aside> tag attributes

<ul> ul element defines a list of items.
<ul><li> Home </li></ul>
<li> li element defines the list items as part of lists.
<ul><li> Tutorials </li></ul>
<a> a element defines the navigational link.
<a href="URL"> Linked text </a>

Tag omission

Both starting and ending tags are necessary for the aside element.

Global Attributes

All the global attributes are applicable on the aside element.

Was this article helpful?




Get the newsletter