decorative banner

Editing an attribute


    You can use the Web Settings Attribute Inspector to set an attribute's function, value type, and default value. You can edit attributes or define new attributes.

    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 the default Web Settings, see Restoring default Web Settings.

To edit an attribute:

  1. Enter the attribute's name in the Attr Name text box.
  2. Enter a description in the Comment text box.
  3. The Attribute Is value is used by the GoLive Syntax Checker to report code errors in the Source Code Editor, but does not determine whether the attribute is written by GoLive. Choose a property from the Attribute Is pop-up menu:
    • Optional specifies that the attribute is not necessary.
    • Required specifies that the attribute is required in order for the tag to be read correctly.
    • Alternate specifies that Optional, Required, or not defined are acceptable.
    • Fixed specifies that the property has a permanent default value.
  4. Choose a property from the Value Type pop-up menu:
    • Text allows any Western-encoded alphanumeric character string. Use this option if you are not sure about the usage.
    • Encoded Text allows any alphanumeric character string in any encoding.
    • Number allows a numerical value only.
    • Enumeration indicates that a fixed set of properties are available.
    • Color permits an RGB color code only.
    • URL allows a Universal Resource Locator only.
    • JavaScript allows JavaScript code only.
    • ID allows a unique string.
    • IDRef allows a link to an ID.
    • IDRefs allows a link to a group of IDs.
    • Entity allows any special character entity.
    • Entities allows a group of special character entities.
    • Nmtoken
    • Nmtokens
    • Notation
  5. Select Create This Attribute, and choose a property from the pop-up menu (if one is available), or enter a value in the text box.
  6. Note: When Create This Attribute is selected and a value is entered in the text box, some attributes are automatically inserted in the source code when the tag is added to a page. If the attribute is not inserted by GoLive, you can insert it from the tag's attribute pop-up menu in the Outline Editor or enter it manually in the Source Code Editor.

  7. In the Version tab of the Inspector, select the browser or HTML versions that support the attribute.
  8. Note: The browser compatibility options you select for an attribute contribute to browser warnings, which may appear when you launch the Syntax Checker (see Checking syntax).The settings in the Version tab of the Inspector do not affect how GoLive writes HTML code, nor do they affect how your pages are displayed by browsers.