HTML Comments
Use comments to organize your code.
1
HTML Comments
Welcome to the next lesson! Today, we’ll learn about HTML comments. Comments are notes in your code that are not visible on the web page but help you and others understand the code.

2
What Are Comments?
Comments in HTML are special lines of text that the browser ignores when displaying the page. They are used to:
- Explain the purpose of your code.
- Temporarily disable code during debugging.
- Add reminders or notes for yourself or other developers.
Comments make your code more readable and maintainable.