HTML: More structural than semantic
Semantic markup is getting a lot of blog coverage at the moment, following a starter post by Jason Kottke. There’s some great content flowing around (Dave Shea, Doug Bowman and Paul Scrivens in particular devote whole essays to the topic) but the central point is the same: just because a page validates doesn’t mean it’s good HTML; semantic markup is equally if not more important for building good pages.
I’m not about to disagree, and there’s not much I can add to what’s already been said. Instead, I’m going to be picky about terminology. In my opinion, HTML is far more a structural language than a semantic one. The word semantic suggests meaning. Sure, marking something up as a paragraph or header is more meaningful than leaving it in a semantically uninteresting div or span, but to be truely semantic the markup would need to tell us what the element actually is —a headline, or the author of an article, or a list of navigation options for the page. That kind of information is the realm of XML. Semantic HTML elements add a small amount of meaning, but a great amount of structure—a fact that becomes particularly important when you start applying CSS. Try to derive real meaning from the simple elements provided by HTML and you’ll quickly run in to a brick wall.
Sam - 28th August 2003 13:53 - #
Sam, I think you're a bit confused. HTML and XHTML are SGML and XML applications, respectively. The whole point in HTML and XHTML is shared semantics. So if all you want is structure, it is you who should go ahead and use any old SGML or XML application, and the people you criticise that should stick with HTML and XHTML.
Saying that you don't read the HTML source, so semantics are irrelevant is just stupid. You don't read the HTML source to check if all the pages you read are valid, yet you claim to be "all for standards". What matters is the application of the source. There are plenty of ways in which semantic information is useful (Google is a prominent user of such information, for instance).
Jim Dabell - 28th August 2003 14:32 - #
Jules - 29th August 2003 10:07 - #
Shirley Kaiser - 29th August 2003 22:57 - #
Jules - 3rd September 2003 01:00 - #