Hello everyone,
Can someone tell me which "Target schema for validation" is suitable for VS 05 web application or ASP.NET version2 application? I have set "Internet Explorer 6.0" for Target schema for validation but always get tag errors like:
Validation (Internet Explorer 6): The values permitted for this attribute do not include 'middle'.
Validation (Internet Explorer 6): Element 'table' cannot be nested within element 'span'.
Validation (Internet Explorer 6): Attribute 'size' is not a valid attribute of element 'input'.
How do I avoid these validation errors and which one is the right "Target schema for validation"? Thanks in advance.
The target schema will depend on the DOCTYPE you've chosen but ideally, you should target the latest versions so an XHTML 1.1 DOCTYPE will target the latest version of CSS (in my case the latest version in the dropdownlist was CSS2.1). However, this doesn't really have any relevance as the best method you can use is to use anon line validator and validate the final HTML that is sent to the browser.
0 comments:
Post a Comment