So what if custom HTML attributes aren't valid XHTML?

Posted by Constantine on Stack Overflow See other posts from Stack Overflow or by Constantine
Published on 2009-06-15T07:26:41Z Indexed on 2010/05/15 10:14 UTC
Read the original article Hit count: 268

I know that is the reason some people don't approve of them, but does it really matter? I think that the power that they provide, in interacting with JavaScript and storing and sending information from and to the server, outweighs the validation concern. Am I missing something? What are the ramifications of "invalid" HTML? And wouldn't a custom DTD resolve them anyway?

© Stack Overflow or respective owner

Related posts about html

Related posts about XHTML