beautypg.com

Quick tag editor overview, Edit code with the quick tag editor, Insert an html tag – Adobe Dreamweaver CC 2015 User Manual

Page 404

background image

397

Coding

Last updated 6/3/2015

• 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.

• To delete the attribute’s 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.

Note: If you change the name of a standard attribute and then add a value for that attribute, the attribute and its new
value move to the appropriate category.

• 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.

Quick Tag Editor overview

You use the Quick Tag Editor to quickly inspect, insert, and edit HTML tags without leaving Design view.

If you type invalid HTML in the Quick Tag Editor, Dreamweaver attempts to correct it for you by inserting closing
quotation marks and closing angle brackets where needed.

To set the Quick Tag Editor options, open the Quick Tag Editor by pressing Control-T (Windows) or Command-T
(Macintosh).

The Quick Tag Editor has three modes:

• Insert HTML mode is used to insert new HTML code.

• Edit Tag mode is used to edit an existing tag.

• Insert HTML mode is used to insert new HTML code.

• Edit Tag mode is used to edit an existing tag.

• Wrap Tag mode is to wrap a new tag around the current selection.

Note: The mode in which the Quick Tag Editor opens depends on the current selection in Design view.

In all three modes, the basic procedure for using the Quick Tag Editor is the same: open the editor, enter or edit tags
and attributes, and then close the editor.

You can cycle through the modes by pressing Control+T (Windows) or Command+T (Macintosh) while the Quick Tag
Editor is active.

Edit code with the Quick Tag Editor

Use the Quick Tag Editor to quickly insert and edit HTML tags without leaving Design view.

Insert an HTML tag

1

In Design view, click in the page to place the insertion point where you want to insert code.

2

Press Control+T (Windows) or Command+T (Macintosh).

The Quick Tag Editor opens in Insert HTML mode.