W3C validator changes the rules
To make future-proof websites, I decided to aim for XHTML Strict for every site concept. Every template is validated using The W3C Markup Validation Service. Recently, they updated their application and changed the rules. Previously this was the minimum validating page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title></title>
</head><body>
</body></html>
Now, suddenly, you have to add the namespace to the html tag in order to validate:
<html xmlns="http://www.w3.org/1999/xhtml">
Time to update all of my templates... asking myself: how can we build standard compliant sites if W3C changes the rules behind our backs? Not a very nice thing to do.
Comments
To add a comment, log in or register as new user. It's free and safe.