Editing the Markup tab


    The Markup tab in the Web Settings window provides a convenient editing environment for adding, modifying, or removing elements and their attributes, and enumerations. All new and existing items in the Markup tab of Web Settings are used by the Syntax Checker.

    For information on closing Web Settings without saving changes or on restoring default Web Settings, see Restoring default Web Settings.

    Important: Errors made while editing Web Settings can cause serious damage to your documents. Before making any changes, check the current HTML specifications defined by the World Wide Web Consortium (W3C) at http://www.w3c.org.

To add a new item to the Markup tab:

  1. In the Markup tab of the Web Settings window, select a Markup language in the left pane, click in the right pane, and do one of the following:
    • To add an element, click the New Element button New Element Style button in the toolbar or choose Add Element from the context menu.
    • To add an attribute to an element, select an element or an existing attribute of the element, and click the New Attribute button New Attribute button in the toolbar.
    • To add an enumeration to an attribute, select the attribute. In the Basic tab of the Inspector, choose Enumeration from the Value Type pop-up menu, and click the New Enumeration button New ID Style button in the toolbar.
    • To duplicate an element, attribute, or enumeration, select it and click the Duplicate button Duplicate Selected Items button in the toolbar.
  2. With the new item selected, edit the properties in the Inspector. (See Editing an element, Editing an attribute, or Editing an enumeration.)
  3. Note: To add new Web Settings elements to a document, you must hand-code them in the document's Source Code Editor. To add new element attributes or enumerations to a document, you must hand-code them in the Source Code Editor, or select them from the attribute or enumeration pop-up menus in the Outline Editor.

To delete items that were added to the Markup tab:

    Select the item, and press Delete on the keyboard.

    Note: You cannot delete any elements that are installed by default.