Language References
Indicates content loosely related to the page content. | HTML 5 |
HTML Syntax
<aside
class = classname
id = value
style = css properties
title = text
event = script
>
The ASIDE element represents a section of a web page that encloses content which is superficially relevant to the main content.
It may be used to display some other content indirectly related to, or aside from, the content it is placed in.
The <aside
> element has no attribute of its own, but supports global attributes common to all HTML elements.
NOTE: Both start and end tags are required.
The following example shows how the <aside
> element may be used.
<p>Cape Town is the legislative capital of South Africa,
and is the country’s oldest and second-largest city, after Johannesburg. </p>
<aside>
<p class=indent>The city is part of the City of Cape Town metropolitan municipality. </p>
</aside>
which would render on a Web page as follows:
Cape Town is the legislative capital of South Africa, and is the country’s oldest and second-largest city, after Johannesburg.