HTML TutorialLesson 11Free preview
HTML Comments
This lesson is part of HTML · All levels
Summary
HTML comments are written between <!-- dan --> and will not be displayed on the result page. Comments are useful for recording code explanations, temporarily disabling some markup, or marking specific sections during debugging. Since it remains visible at the source of the page, do not keep confidential information in the comments.
Key points
- Syntax of the comment: <!-- text komentar -->
- Comments not rendered on the page
- Useful for developer records and debugging
- Keep reading through View Source, don't keep the data secret
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.