Inserting 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.
To insert a comment at the insertion point:
- Select Insert > Comment.
In Code view, Dreamweaver inserts a comment tag and places the insertion point in the middle of the tag. Type your comment.
In Design view, Dreamweaver displays the Comment dialog box. Type your comment and click OK.
To display comment markers in Design view:
To edit an existing comment, do one of the following:
- In Design view, select the Comment marker and edit the comments text in the Property inspector.
- In Code view, find the comment and edit its text.