# `<aside>`

> The `<aside>` HTML element represents content that is indirectly related to the content around it, such as sidebars, pull quotes or advertising.

## What is the `<aside>` element used for in HTML?

The element that is used to represent content that is indirectly related to the main content, such as sidebars, pull quotes or related links. It's typically positioned to the side of the main content and serves as supplementary information.

- Topic: Semantics
- Type: tag
- Browser support: Chrome 5+, Chrome Android 18+, Edge 12+, Firefox 4+, Firefox Android 4+, Safari 5+, Safari iOS 4.2+

## Example

Wrong:

```html
<aside>
  <a href="/">Home</a>
  <a href="/blog">Blog</a>
</aside>
```

Right:

```html
<nav aria-label="Main">
  <a href="/">Home</a>
  <a href="/blog">Blog</a>
</nav>
```

Main site links belong in `<nav>`; `<aside>` is for content only loosely related to the main content.

## Common mistakes

- Using `<aside>` for any sidebar, including the main navigation.
- Adding several `<aside>` landmarks without labels, so they all sound the same.

## Interview questions

### Is `<aside>` the same as a sidebar?

Not always. It means tangentially related content, which often sits in a sidebar but can also be an inline pull quote or note.

### Which ARIA role does `<aside>` have?

It maps to the complementary landmark role.

## Related cards

- [`<article>`](https://wonderium.dev/html/article.md)
- [`<nav>`](https://wonderium.dev/html/nav.md)
- [complementary](https://wonderium.dev/a11y/complementary.md)
- [Semantics](https://wonderium.dev/html/semantics.md)

---

- Level: [HTML](https://wonderium.dev/html.md)
- HTML version: https://wonderium.dev/html/aside
- Last updated: 2026-11-25
