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:

  1. Click to access the Content Delivery tab.
  2. Click Pages to access the Site Map Inspector.
  3. Open the intended editor.
  4. Place your cursor in the location you want the comment to appear in the editor.
  5. 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 */

  1. Click Save to publish changes to the site.