re: Stop using so many divs! An intro to semantic HTML VIEW POST

re: Thanks for answering ! It feels clearer now. Last question, just to be sure I understand well, would it be correct to do the following : <se...

I don't see why not! Two tangential comments though:

  • Each <section> should ideally have a heading tag (<h1>-<h6>) to identify the section. Remember that a <section> should be something you'd list in your table of contents, so what would you call that section? Though I recognize you might have skipped it for the sake of example code, and of course this has no effect on the main point

  • Your comment syntax is slightly wrong, it should be <!-- rather than <--!. But again, no effect on the main point

Thanks again !
And :facepalm: for comment syntax X)

Code of Conduct Report abuse