📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials HTML Fundamentals HTML Comments

HTML Comments

3 min read
HTML comments are invisible to users but visible in page source. Use them for section labels and developer notes. Never put passwords, API keys, or any sensitive information inside HTML comments.

HTML Comments

<!-- This is a comment -->

<!-- Comments are invisible in the browser -->

<!-- Use to leave notes for developers -->
<!-- TODO: add form validation -->

<!-- Don't put sensitive info in comments!
     They are visible in View Source! -->