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
Syntax:-
Its syntax is:- < !-- HTML Comments goes here -- >