validation - jQuery “data” attribute doesn't W3C validate -


i'm wondering why bit of html doesn't validate (xhtml 1.0 transitional) because of "data" attribute. i've searched around answers, , i'm not using jquery metadata plugin, if matters.

any way validate, or escape validator doesn't see it?

<div id="home" data-image="images/water.jpg"> 

because data attributes part of html 5 spec. use <!doctype html> specify html 5 doctype.


Comments