A comment is descriptive text that you insert in the HTML to explain the code or to provide other information. A comment does not affect the appearance of the document in a browser.
See also Invisible Elements preferences.
To insert a comment:
1 | Place the cursor where you want the comment. |
2 | Click the Comment button on the Object palette or choose Insert > Comment. |
![]() |
To display comment markers in the Document window, choose View > Invisible Elements.
To enter comment text:
1 | Select the Comments icon. |
2 | Enter text in the Property inspector. |
![]() |
Creating a comment generates the following HTML code:
<!-- Comment text-->