The HTML <aside> element represents a section of a document with content connected tangentially to the main content of the document (often presented as a sidebar).
| Content categories | Flow content, sectioning content, palpable content. |
|---|---|
| Permitted content | Flow content. |
| Tag omission | None, both the starting and ending tag are mandatory. |
| Permitted parents | Any element that accepts flow content. Note that an <aside> element must not be a descendant of an <address> element. |
| Permitted ARIA roles | feed, note, presentation, region, search |
| DOM interface | HTMLElement |
Attributes
This element only includes the global attributes.
Usage notes
- Do not use the
<aside>element to tag parenthesized text, as this kind of text is considered part of the main flow.
Examples
<article>
<p>
The Disney movie <em>The Little Mermaid</em> was
first released to theatres in 1989.
</p>
<aside>
<p>
The movie earned $87 million during its initial release.
</p>
</aside>
<p>
More info about the movie...
</p>
</article>
Specifications
| Specification | Status | Comment |
|---|---|---|
| WHATWG HTML Living Standard The definition of '<aside>' in that specification. |
Living Standard | |
| HTML5 The definition of '<aside>' in that specification. |
Recommendation |
Browser compatibility
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | 5 | (Yes) | 4.0 (2.0) | 9.0 | 11.10 | 4.1 |
| Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | 2.2 | (Yes) | 4.0 (2.0) | 9.0 | 11.0 | 4.2 |
See also
- Others section-related elements:
<body>,<article>,<section>,<nav>,<h1>,<h2>,<h3>,<h4>,<h5>,<h6>,<hgroup>,<header>,<footer>,<address>; - Sections and outlines of an HTML5 document.
Document Tags and Contributors
Tags:
Contributors to this page:
sideshowbarker,
erikadoyle,
Kasperhesthaven,
mfluehr,
ggbaker,
Sebastianz,
Jeremie,
deenamo,
NinjaBanjo,
Renatvs88,
dbs,
kscarfone,
teoli,
FredB,
Sheppy,
tregagnon,
maybe,
Techdoode,
ethertank,
medicdude,
cers,
dhodder,
fscholz,
hobophobe,
McGurk,
trevorh,
jswisher
Last updated by:
sideshowbarker,