how does the <aside> tag work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how does the <aside> tag work

20th Jul 2020, 1:33 PM
Akabogu Chimdalu
2 Answers
+ 1
It does not do anything on its own, is just a box. You have to move / style it with CSS on your own. It's general purpose is to add additional information, which is not in the primary focus, "aside" the "main content". You should use it like this and style it to fulfill this (e.g. as box appearing on clicking a plus or info sign or as a smaller part on the right side for desktop view).
20th Jul 2020, 2:12 PM
Sandra Meyer
Sandra Meyer - avatar
0
it is just a structural tag in html 5 like(header,main,article,aside,section,footer) . these are functionaly just like div but help alot while understanding your code structure to you and other.
21st Jul 2020, 1:40 PM
Divya Mohan
Divya Mohan - avatar