Posts Tagged ‹section›

The DIV tag roles in HTML5

As HTML5 comes to the stage after XHTML, there’re some new elements come with HTML5, so what does the DIV tag role in HTML5 now?

Before we get started to answer this question, let’s take a look at another question first (a good question asked from my talented friend Will Dawson.):

Does the Section tag replace a Div?

So let me try to answer this question:

the short answer is: yeah, maybe, somewhat.
the long answer is, let me have it as 4 parts:

  1. Description of the Section tag;
  2. Use for;
  3. Don’t use for;
  4. When use the Div tag instead of the Section tag?