decorative banner

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 Source Code Editor's Syntax Checker.

    Important: Do not edit Web Settings unless you are an expert in HTML. Serious damage to your documents can result from errors made while editing the Web Settings. Before you add new items or modify existing items, check the current HTML specifications defined by the World Wide Web Consortium (W3C) at http://www.w3c.org. For information on closing Web Settings without saving changes or on restoring default Web Settings, see Restoring default Web Settings.

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 pop-up menu, and click the New Enumeration button New ID Style button in the toolbar.
    • Select an element, attribute, or enumeration, and click the Duplicate button Duplicate 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 do one of the following:

    • Choose Delete from the context menu.
    • Press Delete on the keyboard.

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