Heydon Pickering wrote an excellent article today about “The Importance of Sections” at Smashing Magazine. I highly recommend this article – one of those “I wish I could write that clearly” articles that explains the new HTML5 Sectioning elements. In the article he references the “sectioning elements” from the World Wide Web Consortium (W3C) wiki site that is also a good example of better writing on the W3C site – clean, understandable code examples of the sectioning elements in HTML5. In teaching html5 sectioning, I had delayed going “fully HTML5” by keeping <div>’s as part of learning to section content in our courses but recently in all web scripting courses, we are now fully implementing the newer HTML5 style of sectioning with the article, section, nav, and aside elements. The transition followed what major designers were doing and now most designers are implementing the html5 sectioning – which is why we made the transition.
Please read the Heydon article and the W3C article and practice these important and useful semantic methods of writing web standards based code. I think you will find Heydon’s writing interesting and very informative. He specializes in semantics – so expect it to be accurate and meaningful.
However, one of my purposes for this article is to also reference another article about the same topic, with a much different perspective – one that argues for forgetting about the new html5 elements. Luke Stephens wrote three articles at WebDesigner Depot that “they’re actually some of the most poorly specified, poorly understood, and poorly implemented parts of HTML5” referencing the “structural elements” [sic Section Elements) of HTML5. He states that you simply “shouldn’t use them”.
My concern with Luke’s article is that it is an example of opinion, and he authorizes himself as the author of a book about HTML5 as proof that he knows what he is talking about. Please read Luke’s articles to see his point of view and make your own decisions about these two different perspectives about changes in coding with HTML5.
Colleges and universities are often criticized by developers as teaching outdated stuff, and not keeping up to date. Our programs have been teaching Web Standards based html/css since there were standards. Articles by “designers” such as Mr. Stephens do not help us keep the content in line with Web Standards. I have coded html before there was CSS and before Web Standards were prevalent. I don’t think the web design community wants to go back to the days of browser wars and every individual deciding to create code the way they think it should be done. There are many top designers/developers that not only believe in the Web Standards process, but that is the way the code – and they do pretty well at that!
Luke Stephens article at Webdesigner Depot : “The Harsh Truth About HTML5’s Structural Semantics“. Links to part 2, and part 3 are at the end of the first and second articles.