Simon Willison’s Weblog

Subscribe

Language tag

18th June 2002

Mark Pilgrim’s accessiblity series continues: Day 7: Identifying your language. Since I’m using XHTML 1.0 I’ve changed my opening <html> tag to the following:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

Mark also points out this handy list of ISO639 language codes.

This is Language tag by Simon Willison, posted on 18th June 2002.

Next: XHTML list

Previous: Javascript select boxes

Previously hosted at http://simon.incutio.com/archive/2002/06/18/languageTag