我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

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 <cite>The Little Mermaid</cite> 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
HTML Living Standard
The definition of '<aside>' in that specification.
Living Standard  
HTML5
The definition of '<aside>' in that specification.
Recommendation  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support5 Yes4911.14.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support Yes Yes Yes49114.2

See also