User Guide

644
ADOBE GOLIVE CS2
User Guide
See also
“Methods of restoring default Web Settings” on page 640
To edit an element attribute in the Markup Language tab
You can use the Web Settings Attribute Inspector to set an attributes function, value type, and default value. You can
edit attributes or define new attributes.
1 Enter the attributes name in the Attr Name box.
2 Enter a description in the Comment box.
3 The Attribute Is value is used by the GoLive Syntax Checker to report code errors, 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 Uniform 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, and Notation Specify valid names and are used in XML.
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.
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 tags attribute pop-up menu in the Outline Editor or enter it manually in the Source Code Editor.
See also
“Methods of restoring default Web Settings” on page 640