HTML5 <aside>
Tag
Topic: HTML5 Tags ReferencePrev|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:
The example below shows the <aside>
tag in action.
Example
Try this code »<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.
Basic Support—
|
Further Reading
See tutorial on: HTML Headings, HTML Paragraphs.
Related tags: <article>
.