concept
CSS comments
CSS comments begin with slash-star and end with star-slash. They cannot nest. Use them for intent and temporary isolation, not for hiding secrets: delivered stylesheet text remains accessible.
Formal Syntax & Structure
css syntaxcss
/* explanatory note */Working Example
Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>CSS reference demo</title><style>#sample { /* color: red; */ color: #184168; }</style></head><body><p id="sample">A field note from the coast.</p></body></html>