HTML Comments
Last updated
What is HTML Comments?
Comments in HTML are notes that you can add to your code to explain what's going on, make reminders, or temporarily disable parts of your code. These comments are not displayed in the browser, so they're only visible when someone views the source code. To create a comment in HTML, you enclose your text within <!-- and -->. Anything between these tags will be ignored by the browser.
Free resources to learn HTML Comments
- ArticleUsing HTML comments
- VideoHTML - Comments - W3Schools.com
More in stage 3: Basic Tags
HTML Comments: common questions
Can I learn HTML Comments in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain HTML Comments in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this HTML Comments tutorial for beginners?
It is lesson 23 of 88 in the free HTML roadmap, in stage 3, Basic Tags. If you are new to HTML, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.