Just a quick question. To elaborate: instead of using div tags to separate sections, can I just use section tags? Are they interchangeable semantically?
Yeah, section is essentially the HTML5 div. However, I use them both. I use a div for the #page-wrap and section for something big like #main-content. I don’t nest sections though. I just don’t like the thought of it =)
But I don’t find myself using divs or sections too much. Usually you can replace them with unordered lists, asides, articles, header, hgroup, footer, time, etc.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.