Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html

What is the <aside> element in HTML?

Amaaz Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The <aside> tag is used to write content that is not directly related to the main content. It acts like a side-note.

It is often placed on the side of the main content and can be styled using CSS.

Syntax

<aside> The indirectly related content goes here </aside>

Example

The code snippet below shows how the <aside> tag can be used in HTML. The example below shows that the <h1> behaves differently in the body and in the <aside> tag. This is because the browsers consider it not directly related to the web page’s main content.

RELATED TAGS

html

CONTRIBUTOR

Amaaz Ahmad
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring