loge.hixie.ch

Hixie's Natural Log

2005-01-21 14:48 UTC <div style="font-weight: bold">Lost cause</div>

How do we teach people to use semantic markup?

Seriously. Several years ago, all the major sites were huge chunks of deeply nested <table> markup intermixed with <font> tags with no DOCTYPE (Example). Now, major sites are typically huge chunks of deeply nested <div> markup with liberal use of the style="" attribute, often with an XHTML DOCTYPE, despite the pages not being even remotely well-formed (Example).

So now what? "<div> considered harmful"? "style="" considered harmful"? People obviously think they want a page layout language. How do we make them realise they have a page layout language (CSS), but that for the Good of the People they should work with semantics at the lowest level instead of working with formatting?