What is the use of aside tag in HTML5?

Query By: APSANA BANO

V

Vivek Madhur

<aside> Tag in HTML5

Actually, an  <aside> HTML tag is used to represent content that is related to the surrounding content within an article or webpage for more understanding you check the below-mentioned example.


Basic Definitions of <aside> Tag

  • A <aside> tag is new in HTML5.
  • It could be considered separate from that content.
  • The type of content is often represented in sidebars.


Example of <aside> HTML Tag

<aside style="color: red;">

    <p>Hello! It's first aside tagged paragraph<p>

    <p>This is the second aside tagged paragraph<p>

    <p>My third aside tagged paragraph<p>

</aside>

Output Look Like

Hello! It's first aside tagged paragraph

This is the second aside-tagged paragraph

My third aside tagged paragraph


Note Point

"An <aside> HTML tag is mostly used to create side menubar in an article in HTML webpage."

Browser's Support of <aside> Tag

  1. Chrome: 6.0
  2. Edge: 9.0
  3. Firefox: 4.0
  4. Safari:5.0
  5. Opera: 11.1

1 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)