Operation Manual

Table Of Contents
387
Coding
Last updated 11/30/2015
7 If a tag editor opens, enter the additional information, and click OK.
8 Click the Close button.
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.
Display comment markers in Design view
?
Select View > Visual Aids > Invisible Elements.
Make sure that the Comments option is selected in the Invisible Elements preferences or the comment marker does
not appear.
Edit an existing comment
In Code view, find the comment and edit its text.
In Design view, select the Comment marker, edit the comments text in the Property inspector, and then click in the
Document window.
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.
Preview images and colors in Code view
After you insert the relevant code for images and colors, you can preview them right within Code view.
Image preview
Color preview
Image preview
Hover your mouse over any image URL to see a preview of the image in Code view. You can preview images that are
referenced as any of the following:
url();
data-uri()
Src attribute value of img tag
Dreamweaver also shows image previews of remotely hosted images. For example, <img
src="https://a2.behance.net/img/profile/no-image-138.jpg?cb=1816124956" />. If Dreamweaver is unable to display
the preview for remote paths, the message "Unable to load image" is displayed.