[thelist] Custom HTML Attributes and W3C

Bob Easton bob at eleaston.com
Sun May 9 19:07:33 CDT 2004

Hershel Robinson wrote:
> I am under the impression (
> http://www.quirksmode.org/about/quirksmode.html ) that custom attributes
> will not validate according to the W3C. Can anyone confirm this and provide
> a clear reference from the W3C itself as the veracity of this?
> Thanks,
> Hershel
Validation is a comparison of actual code with the code described in a 
Data Type Definition, DTD, the second part of the !DOCTYPE statement. 
There are a limited number of standard DTDs. If you have a custom 
attribute, that means it is not in any DTD.  Hence, the custom attribute 
  won't validate.

Bob Easton

More information about the thelist mailing list