Sunday, 20 September 2015

HTML Aside Tag

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

  1. <p>I don't want to live in Ghaziabad, I wish; I could buy a flat in New Delhi.</p>  
  2. <aside>  
  3.   <h3>New Delhi</h3>  
  4.   <p>New Delhi is the capital of India.</p>  
  5. </aside>  

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

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

No comments:

Post a Comment