I know that HTML5 supports custom data-* attributes , and I know that VS2010 SP1 must have HTML5 support .
However, when I installed VS2010 SP1, I still get element validation errors with data-* attributes.
For example, this:
<a id="Clicky" data-for="@Model.Id">Clicky</a>
Sets the following warning in VS2010:
Validation (XHTML 1.0 Transitional): The 'data-for' attribute is not a valid attribute of the 'a' element.
Although I understand that these are just warnings and can be ignored, I try to make my site as standard as possible, and if my list of warnings is spammed with these warnings, I will not be able to see valid warnings through all the noise.
Am I doing something wrong, or should I live with these warnings?
Thanks in advance.
Jerad rose
source share