Horje
What is the purpose of the <aside> Element in HTML5?

The <aside> element in HTML5 is used to define content that is tangentially related to the content around it. It is typically used for sidebars, pull quotes, or information that is considered supplementary to the main content of the page.

Syntax:

<aside>
<h1>Contents...</h1>
<p>Contents...</p>
</aside>

Features:

  • Supplementary Content: <aside> is used for content that is related to the main content but is considered secondary or supplementary.
  • Sidebars: Often used for sidebars containing additional information, links, or advertisements.
  • Accessibility: Helps improve the structure and accessibility of the document, making it clear what content is supplementary.



Reffered: https://www.geeksforgeeks.org


Web Technologies

Related
Explain the use of the &lt;meta charset&gt; Tag Explain the use of the &lt;meta charset&gt; Tag
How to select all links within a Paragraph using CSS? How to select all links within a Paragraph using CSS?
How to apply styles only to the first child of an element using CSS ? How to apply styles only to the first child of an element using CSS ?
What is the use of the float Property in CSS ? What is the use of the float Property in CSS ?
What is the purpose of the z-index Property ? What is the purpose of the z-index Property ?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
15