How do I delineate comments in CSS?
Author: Deron Eriksson
Description: This CSS example demonstrates CSS comments.
Tutorial created using:
Windows XP
In CSSW, comments begin with /* and end with */. We can see an example of this in the code below. The CSS rule about the h1 selector is preceded by a comment describing the rule. <style type="text/css"> /* This rule sets the color of the text of h1 elements to be red */ h1 { color: red; } </style> |