HTML5 <aside> Tag

Topic: HTML5 Tags Reference« Prev|Next »

Description

The <aside> element represents a section of the web page that encloses content which is tangentially related to the content around it.

The following table summarizes the usages context and the version history of this tag.

Placement: Block
Content: Block, inline, and text
Start/End Tag: Start tag: required, End tag: required
Version: New in HTML5

Syntax

The basic syntax of the <aside> tag is given with:

HTML / XHTML: <aside> ... </aside>

The example below shows the <aside> tag in action.

  • <aside>
  •     <h1>Apollo 13 Facts</h1>
  •     <p>Apollo 13 was the seventh manned mission in the American Apollo space program and the third intended to land on the Moon.</p>
  • </aside>

Tag-Specific Attributes

The <aside> tag doesn't have any specific attribute.


Global Attributes

Like all other HTML tags, the <aside> tag supports the global attributes in HTML5.


Event Attributes

The <aside> tag also supports the event attributes in HTML5.


Browser Compatibility

The <aside> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 4+
  • Google Chrome 6+
  • Internet Explorer 9+
  • Apple Safari 5+
  • Opera 11.1+

Further Reading

See tutorial on: HTML Headings, HTML Paragraphs.

Related tags: <article>.

 
Close

Your Feedback:

 

We would love to hear from you! Please say something.