DREAMWEAVER CS3
User Guide
319
See also
“About Dreamweaver tag libraries” on page 343
Edit tags with Tag editors
Use Tag editors to view, specify, and edit the attributes of tags.
1
Right-click (Windows) or Control-click (Macintosh) a tag in Code view or an object in Design view, and select
Edit Tag from the pop-up menu. (The contents of this dialog box change depending on the selected tag.)
2
Specify or edit attributes for the tag and click OK.
To get more information about the tag within the Tag editor, click Tag Info.
Indent code blocks
As you write and edit code in Code view or the Code inspector, you can change the indentation level of a selected
block or line of code, shifting it right or left by one tab.
Indent the selected block of code
•
Press Tab.
•
Select Edit > Indent Code.
Unindent the selected block of code
•
Press Shift+Tab.
•
Select Edit > Outdent Code.
Copy and paste code
1
Copy the code from Code view or from another application.
2
Place the insertion point in Code view, and select Edit > Paste.
See also
“Paste and move collapsed code fragments” on page 325
Insert HTML comments
A
comment
is descriptive text that you insert in HTML code to explain the code or provide other information. The
text of the comment appears only in Code view and is not displayed in a browser.
Insert a comment at the insertion point
❖
Select Insert > Comment.
In Code view, a comment tag is inserted and the insertion point is placed in the middle of the tag. Type your
comment.
In Design view, the Comment dialog box appears. Enter the comment and click OK.
September 4, 2007