HTML Comments
> Write source comments and understand why secrets must never be placed in HTML.
**Category:** HTML | **Lesson:** 23 of 40
## Comment syntax
“`html
Cyber Code Academy
“`
## Multiline comment
“`html
“`
Comments are not displayed as normal page content, but visitors can inspect source code.
## Good uses
Explain non-obvious structure, mark sections in templates, or leave useful developer notes.
## Never store secrets in comments
Do not place passwords, API keys, private data, or confidential information in HTML. Client-side source is visible to visitors.
## Practice
Add two useful comments and inspect the page source in your browser.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses