aside

Table of contents

  1. 1. Summary
    1. 1.1. Usage context
    2. 1.2. Attributes
    3. 1.3. DOM Interface
    4. 1.4. Examples
      1. 1.4.1. Result
    5. 1.5. Compatibility
    6. 1.6. See also
Table of contents
  1. 1. Summary
    1. 1.1. Usage context
    2. 1.2. Attributes
    3. 1.3. DOM Interface
    4. 1.4. Examples
      1. 1.4.1. Result
    5. 1.5. Compatibility
    6. 1.6. See also

Introduced in HTML 5

Summary

The HTML Aside Element (<aside>) represents a section of a page that consists of content that is tangentially related to the content around it, which could be considered separate from that content. Such sections are often represented as sidebars or as inserts; they often contains side explanation like a glossary definition, more loosely related stuff like advertisements, the biography of the author, or in web-applications, profile information or related blog links.

Usage notes:

  • Do not use the <aside> element to tag parenthesized text, as this kind of text is considered part of the main flow.

Usage context

Permitted content Flow content
Tag omission None, both the start tag and the end tag are mandatory
Permitted parent elements

Any element that accepts flow content. Note that an <aside> element must not be a descendant of an <address> element.

Normative document HTML5, section 4.4.5

Attributes

This element has no other attributes than the global attributes, common to all elements.

DOM Interface

This element implements the HTMLElement interface.

Examples

<aside>
  <p>Some content related to an <article></p>
</aside>

Result

<aside>

Some content related to an <article>

</aside>

Compatibility

  • Desktop
  • Mobile

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 5 4.0 (2.0) 9.0 11.10 4.1
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 2.2 4.0 (2.0) 9.0 11.0 5.0 (iOS 4.2)

See also

Tags (4)

Edit tags

Attachments (0)

 

Attach file