Splash of Style...Macs, Photography, Design, and other Passions

An Easy Way to Remember CSS Comments

June 12, 2006 by debbie T | CSS

The syntax for a css comment is somewhat difficult to remember. I know I always had trouble until I thought of an easy way to remember.

Think of a game of tennis

/* tennis anyone */

The rackets are on the outside with the tennis balls inside. Don’t forget to add a space in before and after your css comment text.

For more CSS Basics, as well as xhtml tutorials, check out my Web Designs Made Simple web site.

Commments are closed for this article.