Showing posts with label validations. Show all posts
Showing posts with label validations. Show all posts

January 24, 2008

HTML source validation in Visual web developer 2005

It’s a good practice be to find HTML errors or warnings carefully and fix them. For example a missing the closing of TD could result in a warning, but it would affect the entire code to dysfunctional. You are unable to find out where is the root cause upon debugging. So its always nice practice not to ignore warnings or HTML errors.

To set these validations



Go to tools menu-> Options menu item in VS or Visual Web Developer.
Select the Text Editor->Html->Validation tree option in the left-hand side of the options window,
Select the target as XHTML 1.0 transitional (Netscape7, opera 7, InternetExplorer 6) and check the “Show Errors” checkbox:


Note: HTML validation errors will not block a web application from compiling / running.