I read about <section> and <aside> on the WC3 site a whole ago, but I can't remember if an <aside> should be placed inside a <section> or directly beneath it. Does anybody know?

E.g. Should it be like this?:


Or like this:


Thank you

  • Seems like it would be quicker to go back to the W3C page you saw it on and see what it actually says than to post a question and wait for an answer. Jan 9, 2011 at 18:31
  • Nup lol. I've been looking for it all night while waiting for an answer, and couldn't find it. I only stumbled upon it in the first place by accident.
    – Jason
    Jan 9, 2011 at 19:45

2 Answers 2


You can place an aside inside section if you like. It just indicates that the content is not directly related to the current article hence it being aside. Moreover, you can even have a section inside a aside tag if you want to break up the content within it.

I usually think of aside as having more of a semantic meaning and section more of a presentational function. this way you can decide which is best for the content you're trying to display.

  • Section isn't more related with presentational function. For that you have DIV. Sections are, semantically speaking, sections. :)
    – MEM
    Dec 13, 2011 at 13:36

To me it makes the most sense to have the aside within the section that it relates to, if that is the intent of the content. However, it's pretty flexible - there are no hard rules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.