HTML Aside Tag

The HTML <aside> tag provides information about the main content. According to W3C definition, the <aside> element represents content that forms the main textual flow of a document.

HTML aside is a new tag introduced in HTML5.

HTML aside tag example

<p>I don't want to live in Ghaziabad, I wish; I could buy a flat in New Delhi.</p>  

<aside>  

  <h3>New Delhi</h3>  

  <p>New Delhi is the capital of India.</p>  

</aside>

Output:

I don’t want to live in Ghaziabad, I wish; I could buy a flat in New Delhi.

New Delhi

New Delhi is the capital of India.

HTML aside tag also supports global and event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<aside>YesYesYesYesYes

Comments

Leave a Reply

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