- Introduction
- Understanding HTML
- Using the Reference Panel
- Using Code View
- Using Code Live View
- Setting Code View Options
- Entering HTML Code
- Using Code Hints
- Working with HTML Head Tags
- Inserting HTML Comments
- Using the Coding Toolbar
- Using Quick Tag Editor
- Using the Tag Inspector
- Using the Tag Chooser
- Opening Related Files
- Navigating to Related Code
- Setting Site Specific Code Hints
- Setting Code Hint Preferences
- Setting Code Format Preferences
- Setting Code Rewriting Preferences
- Setting Code Color Preferences
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
- Open the Web page you want to insert comments.
- Click to place the insertion point where you want to insert a comment (in Code or Design view).
- Click the Insert menu, and then click Comment.
- Type the comment you want.
- Click OK (in Design view).