Using non W3C valid attributes on HTML elements

Posted by Marcus on Stack Overflow See other posts from Stack Overflow or by Marcus
Published on 2010-05-05T08:13:28Z Indexed on 2010/05/05 8:18 UTC
Read the original article Hit count: 159

Filed under:
|
|

Hi,

What is your opinion about using non valid attributes on html elements for easier jQuery selectors etc ?

Eg.

<div name="myDiv"></div>

According to Visual Studio the name attribute is not valid for a div element.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html