Editing libraries, tags, and attributes
You can use the Tag Library editor to set properties for a tag library and edit tags and attributes in
a library—whether it be their attributes and attribute values, or their format (for easy
identification in the code).
To set properties for a tag library:
In the Tag Library editor (Edit > Tag Libraries), select a tag library (not a tag) in the Tags list.
1
Note: The properties for tag libraries appear only when a tag library is selected. Tag libraries are
represented by the top-level folders in the Tags list; for example, the HTML Tags folder represents
a tag library, while the abbr folder within the HTML Tags folder represents a tag.
In the Used In list, select every document type that should use the tag library.
2
The document types you select here determine which document types provide code hints for
the given tag library. For example, if the HTML option is not selected for a given tag library,
code hints for that tag library don't appear in HTML files.
If the tags in the tag library need a prefix, then enter the prefix in the Tag Prefix text box.
3
Note: A prefix is used to identify a tag in the code as part of a particular tag library. Some tag
libraries don't use prefixes.
If you are finished making changes in the Tag Library editor, click OK.
4
To edit a tag in a tag library:
In the Tag Library editor (Edit > Tag Libraries), expand a tag library in the Tags list and select
1
a tag.
Set any of the following Tag Format options:
2
Line Breaks
Contents
specifies how Dreamweaver inserts the contents of a tag; that is, if it applies line
break, formatting, and indentation rules to the content.
Case
specifies the case for a specific tag. Select from Default, Lowercase, Uppercase, or Mixed
Case. If you select Mixed Case, the Tag Name Mixed Case dialog box appears. Type the tag
with the case Dreamweaver should use when inserting it (for example, getProperty) and
click OK.
Set Default
sets the default case for all tags. In the Default Tag Case dialog box that appears,
select <UPPERCASE> or <lowercase>, and click OK.
Tip: You might want to set your default case to be lowercase to comply with XML and
XHTML standards.
408
Chapter 19: Setting Up Your Coding Environment
specifies where Dreamweaver inserts line breaks for a tag.
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers