Say I had a situation like this:
<section> <h2>Section Name</h2> <!-- ... --> </section>
What would better/more standard, putting the ID on the <section>
element, like so:
<section id="section-name"> <!-- ... --> </section>
or on the header, like so:
<section> <h2 id="section-name">Section Name</h2> <!-- ... --> </section>
Cheers!
Top comments (0)