Fandom

Aside

648pages on
this wiki
Add New Page
Comments0 Share

The HTML <aside></aside> element was introduced in HTML5. It defines some content aside from the content it is placed in. This content should be related to the surrounding content. The content could also be placed as a sidebar in an article. Such sections are often represented as sidebars or as inserts; they often contain side explanations 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. This element must not be descendant of an <address> element.


AttributesEdit

See Global HTML Attributes and Standard HTML5 Attributes.


HTML example:

Ever heard of The Epcot center?
<aside>
<h4>Epcot Center</h4>
The Epcot Center is a theme park in Disney World, Florida.
</aside> 

Rendering Edit

The aside element by itself does not have a visual rendering, other than being a block element. It does however influence the rendering of the <h1> element, see that page for more information.

Typical CSS representation Edit

aside {
  display: block;
}

Coding rules Edit

The <aside> element belongs to the Flow content category.

See AlsoEdit

External LinksEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.