It seems that the HTML 5 <section> tag doesn't really add much beyond a <div> tag. Why should I use it, especially as it will not be compatible with anything below IE9?
|
The HTML5 Living Standard describes a
Consider an electronics product's page on an e-commerce site, for example, in which you list a product's "marketing-speak" description under one heading, a list of technical specifications under another heading, and a blurb about the manufacturer under yet another heading - each of those units of information could be considered a section of the document about the product. You might be interested in using Because * it is presumptuous on my part to state that search engines are presently analyzing content at this level, but I wouldn't be surprised in the least if Google were, and when you author an HTML document and put it on a public server, it's safe to say that it's going to be analyzed by algorithms well into the foreseeable future. |
|||||||||||
|
|
The most important difference is that Document 1:
Document 2:
Document 1 has this outline:
Document 2 has this outline:
|
|||||
|
sectionversusarticle,divetc. – Su' Apr 27 '12 at 18:51sectionis weird as far as where or even if you should use it("if article, aside or nav is more appropriate"). Frankly you can just not use it if you don't want to and nobody will really care. It adds some semantics and organization to the document, but you won't lose much of anything without it. – Su' Apr 27 '12 at 22:57