HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML Comment Tag

HTML Comment  Tag



HTML Comment tag is used for commenting purposes and it will not show on the browser. It is actually used to insert comments in the source code. They are not displayed by the browser. When comments are inserted between tags, these tags will not display on the screen.


Uses of HTML Comments:-


  • helps in understanding code
  • makes code more readable
  • assist the developer to learn more about the functions that a certain code can perform
  • can be used as notes
  • it can be used to display updates or portrayals




Its syntax is:- < !-- HTML Comments goes here -- >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML