Share via


HTML Specific, HTML/XML, Text Editor, Options Dialog Box

These options make it possible for you to set HTML validation, automatic statement completion, auto insertion, and control hosting preferences for the HTML view and XML editors. To access these settings in the Options dialog box, expand the Text Editor node, select HTML/XML, and choose HTML Specific

To open the Options dialog box, select Options on the Tools menu. These settings supplement those available from HTML Designer Options pages.

HTML Validation

  • Enable HTML Validation
    When selected, problems in your HTML markup are indicated with red wavy underlines. When you point to such underlined markup in HTML view, a ToolTip suggests a resolution for the problem.

    Tip   To display direct links to markup problems, open your document in HTML view, select Show Tasks on the View menu and then choose All or Build errors. This opens the Task List window. Select any Build error that indicates problems in your HTML to jump directly to the underlined markup in the HTML view editor.

Statement Completion

  • Auto pop-up HTML statement completion
    When selected, activates automatic statement completion in the HTML view editor. This feature provides guidance as you edit your markup by displaying pop-up lists of valid terms and values. These lists include elements and their properties or attributes, event handlers and their parameters, and permitted values or ranges. Selecting any item from a pop-up list inserts the item into your markup.

  • Auto pop-up scripting statement completion
    When selected, activates automatic statement completion when editing scripts. This feature provides guidance as you edit event handlers and other script functions by displaying pop-up lists of valid terms and values. These lists include elements and their properties or attributes, and permitted values or ranges. Selecting any item from a pop-up list inserts the item into your script.

    Note   Statement completion lists are filtered for compatibility with the targetSchema property of your HTML document. You can set this property in the Properties window. For more information, see Setting the targetSchema Property of an HTML Document.

Auto Insert

  • Close tag
    When selected, directs statement completion pop-ups, the Toolbox, and other inserters to automatically insert closing tags when adding elements to your document.
  • Attribute value quotes
    When selected, directs statement completion pop-ups, the Toolbox, and other inserters to place quotation marks around values assigned to attributes and properties. Clear this option if you prefer to insert quotation marks into your markup manually.

Control Hosting

  • Instantiate live controls
    When selected, working instances of HTML controls are loaded when you insert them in HTML view. Clear this option if you prefer not to work with active HTML controls in HTML view. A placeholder mark is then displayed in HTML view for each control in your document.

See Also

Options that Affect Existing HTML, CSS, or XML Markup | HTML Designer | General, HTML/XML, Text Editor, Options Dialog Box | Tabs, HTML/XML, Text Editor, Options Dialog Box | Format, HTML/XML, Text Editor, Options Dialog Box | XML Specific, HTML/XML, Text Editor, Options Dialog Box | General, HTML Designer, Options Dialog Box | Display, HTML Designer, Options Dialog Box