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
- GPT-5.2 - 11th December 2025
- Useful patterns for building HTML tools - 10th December 2025
- Under the hood of Canada Spends with Brendan Samek - 9th December 2025