explains what should go inside it—“Put corporate logo and navigation bar here.”
People frequently use comments to mark the end of a page section—“End of
navigation bar.” These buttons let you add or remove comments to HTML, CSS,
Tip: You can easily turn style properties on and off in Cascading Style Sheets by taking advantage of
“comment” behavior. Open a CSS file, select a property inside a style, and stick a pair of comment tags
around it (/* at the beginning, */ at the end). When you preview a page that uses the style, you see the
style minus the property you “commented out,” as programmers call it. This maneuver lets you add a new
style and preview it, temporarily hiding the effect of one or more other style properties without permanently deleting them. It’s also a great help in debugging problematic styles. In fact, it’s so useful the CSS
Styles panel provides a button that makes it easy to turn style properties on and off (see Figure 9-27).
characters. Just select the code you wish to turn
into comments, click the Apply Comment button
(circled), and then select the type of comment you
want to add. Use the HTML comment option to
hide HTML code; the /* */ option to hide multiple
the ‘ option to hide VBScript code.
The last option, Apply Server Comment, hides
server-side code like that described in Part Six;
use this option to comment-out both HTML and
server-side programming code in one step. To
remove a comment, select all the code (including
the comment markers), and then click the Remove
Comment button (hidden in this figure; it’s just
below the Apply Comment button).
dreamweaver cs5.5: the missing manual