aside

<aside> element – represents content that is tangentially related to the main content of a given page.

Usage: think in terms of a printed document where such a section of a page might be represented as a sidebar, annotation, or footnote.

Permitted Content: style elements and flow content. The <aside> element must not be a descendant of the <address> element.

Tag omission: both start and end tag must be present.

Example code:

<aside id=”sidebar”>
<form> Search form goes here </form>
<section>
<h3>CSS</h3>

</section>
</aside>
<!– end sidebar –>

Example page (opens in a new tab/ window – view source code):

Default display properties: display: block.

Common Attributes: typical global attributes only.

Permitted Parent Elements: any element which can contain phrasing or flow elements.

References:

Leave a Reply

Your email address will not be published. Required fields are marked *