Validation, HTML, Text Editor, Options Dialog Box

These settings allow you to set preferences for how the HTML editor checks for correct syntax in your document.

To access this dialog box

  1. In Microsoft Visual Web Developer, click Tools, and then click Options.

    The Options dialog box opens.

  2. In the left panel, expand the Text Editor node, expand the HTML node, and click Validation.

    If you have configured your environment settings for Web development, the Validation node is at the top level. For more information about environment settings, see How to: Change Select Settings.


Additional HTML options can be found under the HTML Designer node, which is visible if the Show all settings check box is selected.

For more information about validation settings, see Markup Validation in Visual Web Developer.


Select the schema to validate against. Each schema determines the elements (tags and attributes) and capitalization that is valid in that schema.

The schema you select also determines what tags and attributes the editor makes available in IntelliSense.

Show errors

Select the check box to enable validation. If the check box is not selected, the editor will not mark validation errors.

Other options

The remaining check boxes allow you to fine-tune validation by specifying individual types of errors that you want the editor to mark.


Some schemas do not offer options to mark individual types of errors. For example, if you select the target XHTML 1.1 Strict, all option check boxes are disabled because all types of errors are marked.

Community Additions