<aside>...</aside>

HTML4 HTML5

Represents secondary content indirect link to the main content of the page or article (e.g., sidebar, navigation bar, callout box, section with related links, or advertisements).

Both opening and closing tags are required.

Attributes: Only global attributes are used (e.g., class, id, style).

Example

Code:

<aside style="background-color: #e9ecef; border-left: 4px solid #007bff; padding: 10px; font-size: 14px;"> <p style="margin: 0; font-weight: bold;">Did you know...?</p> <p style="margin: 5px 0 0 0;">An &lt;aside&gt; tag placed inside an &lt;article&gt; strictly relates to that article.</p> </aside>

The browser will interpret this code as follows: