Changing attributes with the Tag inspector

Changing attributes with the Tag inspector

You can use the Tag inspector to edit tags and objects using a property sheet similar to the ones found in other integrated development environments (IDEs).

To edit attributes using the Tag inspector:

  1. Do one of the following in the Document window:
    • In Code view (or the Code inspector), click anywhere in a tag’s name or in its contents.
    • In Design view, select an object, or select a tag in the Tag Selector.
  2. Open the Tag inspector (Window > Tag Inspector), and select the Attributes tab.

    The selection’s attributes and their current values appear in the Tag inspector.

  3. Do any of the following in the Tag inspector:
    • To view the attributes organized by category, click the Show Category View button. This is a picture of the feature being described.
    • To view the attributes in an alphabetical list, click the Show List View button. This is a picture of the feature being described.
    • To change an attribute value, select the value and edit it (see the procedure below).
    • To add a value for an attribute with no value, click in the attribute-value column to the right of the attribute and add a value (see the procedure below).
    • To delete an attribute value, select the value and press Backspace (Windows) or Delete (Macintosh).
    • To change the name of an attribute, select the attribute name and edit it.
    • To add a new attribute not already listed, click in the empty space below the last listed attribute name and type a new attribute name.
  4. Press Enter (Windows) or Return (Macintosh), or click elsewhere in the Tag inspector, to update the tag in your document.

To edit or add an attribute value, do one of the following:

  • Type a new value for the attribute in the attribute-value column, to the right of the attribute name.
  • If the attribute takes pre-defined values, select a value from the pop-up menu (or the color picker) to the right of the attribute-value column.
  • If the attribute takes a URL value, click the Browse button or use the Point-to-File icon to select a file, or type the URL in the text box.
  • If the attribute takes a value from a source of dynamic content (such as a database), click the Dynamic Data button to the right of the attribute-value column. Then select a source. This is a picture of the feature being described.

    For information on defining sources of dynamic content, see Defining Sources of Dynamic Content.

Related topics

  • Editing code with the Property inspector
  • Using JavaScript Behaviors
  • Using Cascading Style Sheets to format text


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Setting Up Your Coding Environment
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly