So what if custom HTML attributes aren’t valid XHTML?
The ramification is that w3c comes along in 2, 5, 10 years and creates an attribute with the same name. Now your page is broken. HTML5 is going to provide a data attribute type for legal custom attributes (like data-myattr=”foo”) so maybe you could start using that now and be reasonably safe from future name … Read more