Udostępnij za pośrednictwem


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

You can customize markup validation in the HTML editor to specify whether validation checks certain types of constructions. You can select whether validation ignores uppercase letters in tag and attribute names and whether quotation marks are required. Also, you can set validation options to disable HTML validation.

To set validation options for HTML editing

  1. On the Tools menu, click Options.

  2. In the Options dialog box, select the View all settings check box.

  3. Expand the Text Editor node, expand the HTML node, and then click Validation.

    Note

    Validation options depend on which validation schema is selected in the Target drop-down list. For example, if the current validation schema does not allow mixed-case letters in element or attribute names, that option does not apply to the current validation schema.

To disable validation for HTML editing

  1. On the Tools menu, click Options.

  2. In the Options dialog box, select the View all settings check box.

  3. Expand the Text Editor node, expand the HTML node, and then click Validation.

  4. To disable validation, clear the Show errors check box and then click OK.

See Also

Tasks

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

Concepts

Markup Validation in Visual Web Developer