Difference between heading inside section or before it in HTML5
In HTML5, what is the difference between a section with a h eading as child element and a section which is the next sibling of a h eading element? Does the same difference hold for div elements instead of section ? <section> <h1>First section</h1> <!-- other content --> </section> <!-- vs. --> <h1>Second section</h1> <section> <!-- other content --> </section> The answers will highly depend upon logical view. <section> <h1>....</h1> </section> On the above case <h1> denotes the heading of the section. Now lets look at another example: <div id="info"> <h1>Sections:</h1> <section> <h1> Section: