Home > Articles > Web Development > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Inserting HTML Comments

If you’re writing large sections of code or working with other people to develop a site, it’s important to insert comments into your HTML code. An HTML comment is descriptive text that explains the purpose and process for the page’s code. The comment text only appears in Code view; the information is for internal development purposes only. You can insert comments in Code view or Design view. After you insert a comment, you can edit it directly in Code view, or select the comment marker and make changes in the Properties panel.

Insert HTML Comments

  • green-circle-1.jpg Open the Web page you want to insert comments.
  • green-circle-2.jpg Click to place the insertion point where you want to insert a comment (in Code or Design view).
  • green-circle-3.jpg Click the Insert menu, and then click Comment.
  • green-circle-4.jpg Type the comment you want.
  • green-circle-5.jpg Click OK (in Design view).
  • + Share This
  • 🔖 Save To Your Account