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.
More recent articles
- Hello Python 3.15, goodbye 3.10, and now I can use 3.11 - 12th October 2026
- A new feature for my blog, built using my voice - 9th October 2026
- Claude Haiku 5.5 - 7th October 2026
- We're going to need default hard budget caps on pretty much everything - 3rd October 2026