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.

Note

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.

Tasks

How to: Select Validation Schemas for HTML Editing in Visual Web Developer

How to: Set Validation Options for HTML Editing in Visual Web Developer

Walkthrough: Advanced HTML Editing in Visual Web Developer

UI Elements

  • Target
    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.

    Note

    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.

See Also

Concepts

Markup Validation in Visual Web Developer

Reference

General, HTML, Text Editor, Options Dialog Box

Tabs, HTML, Text Editor, Options Dialog Box

Format, HTML, Text Editor, Options Dialog Box

Miscellaneous, HTML, Text Editor, Options Dialog Box

Display, HTML Designer, Options Dialog Box

General, HTML Designer, Options Dialog Box