Can Aside Be in Main

Can Aside Be in Main

You can of course still place aside in main , but it will be related to the nearest sectioning element parent of main .

Can aside be inside section?

Yes, it the <aside> inside the <section> is perfectly valid markup and will pass W3C validation, if that’s what you’re worried about.

Where can you use aside tag?

The <aside> tag is used to describe the main object of the web page in a shorter way like a highlighter. It basically identifies the content that is related to the primary content of the web page but does not constitute the main intent of the primary page.

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.