Simon Willison’s Weblog


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="" 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