Writing Markup Comments
Add specifically-formatted Comments to HTML, CSS and JavaScript markup. Include instructions, observations and other notifications without affecting the resulting content.
Comment text will be shown in a specific colour (green by default).
Implementation:
- Click to access the Content Delivery tab.
- Click Pages to access the Site Map Inspector.
- Open the intended editor.
- Place your cursor in the location you want the comment to appear in the editor.
- Click and type your text into the syntax provided.
In HTML, a comment has the following syntax:
<!-- This is a comment -->
In CSS and JavaScript, a comment has the following syntax:
/* This is a comment */
- Click Save to publish changes to the site.