HTML Comments & Special Characters
HTML Comments
Comments are notes in your code that browsers ignore. They help explain your code to other developers (or your future self).
Syntax: <!-- your comment here -->
HTML Entities (Special Characters)
Some characters have special meaning in HTML (like < and >). To display them literally, use HTML entities:
| Character | Entity |
|---|---|
| < | < |
| > | > |
| & | & |
| " | " |
(non-breaking space) | |
| © | © |