Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMichael Johnson
Courses Plus Student 710 Points<aside>
Hi guys
My question is can we use the <aside> for displaying ads in the web?
Thanks
3 Answers
Steven Parker
231,275 PointsThe intended use of <aside> is for content that is indirectly related to the main document content. If the ad qualifies, then it could potentially be used, but I would expect that typical advertising might not be related to the page content at all. So with that in mind, it's probably not the best choice for an ad container.
I expect an ad would be one case where the totally generic "div" might be the best choice.
Gregory Simileer
UX Design Techdegree Graduate 19,003 Pointsoh so it's like a side reference? Like "btw blah blah blah" pertaining to the same group? something relevant but not relevant to the main content?
Michael Johnson
Courses Plus Student 710 PointsThanks
Gregory Simileer
UX Design Techdegree Graduate 19,003 PointsGregory Simileer
UX Design Techdegree Graduate 19,003 Pointsim trying to grasp the concept of <aside>. Can you give me an example on when we can use it?
Steven Parker
231,275 PointsSteven Parker
231,275 PointsFor an example, if a page's main content described the current activities of an interest group for 3-D printer users, an aside on that page might have a paragraph or two about when the group started and by whom.