A LIST Apart: For People Who Make Websites

No. 275

January 06, 2009

Duty now for the future: HTML 5 and extensible semantics; plus the ins and outs of mobile CSS.

Return of the Mobile Style Sheet

At least 10% of your visitors access your site over a mobile device. They deserve a good experience (and if you provide one, they’ll keep coming back). Converting your multi-column layout to a single, linear flow is a good start. But mobile devices are not created equal, and their disparate handling of CSS is like 1998 all over again. Please your users and tame their devices with handheld style sheets, CSS media queries, and (where necessary) JavaScript or server-side techniques.

Semantics in HTML 5

The BBC’s dropping of hCalendar because of accessibility and usability concerns demonstrates that we have pushed the semantic capability of HTML far beyond what it can handle. The need to clearly and unambiguously add rich, meaningful semantics to markup is a driving goal of the HTML 5 project. Yet HTML 5 has two problems: it is not backward compatible because its semantic elements will not work in 75% of our browsers; and it is not forward compatible because its semantics are not extensible. If “making up new elements” isn’t the solution, what is?

A List Apart explores the design, development, and meaning of web content, with a special focus on web standards and best practices. Explore our articles or find out more about us.

Editor’s Choice

originally ran: December 04, 2007

A Preview of HTML 5

With the introduction of a range of enhancements to form controls, APIs, multimedia, structure and semantics, HTML 5 promises to give authors more flexibility and greater interoperability.