Section html tag
Hi, I explain my question in the video via voice.
4 Replies
Kevin also has the same thing
The first section is not a section on its own but inside a div
Technically it could be reversed and you would be okay. In fact, I think I would agree with you and say the section tag should go on the outer end. However, those divs before the section tags are just styling divs and hold no real value, so it shouldn't take away from the semantics of the HTML
you also have to think about how the pages are populated. i can image there is a basic layout template. the regions stay the same, the content inside changes dynamically based on the actual page. (Don't know if this is the case for mdn, only they know)