Pr.Pg Next Pg

< ! - - . - - > Comment tag tutorials

  • This is a paired tag. Its opening and closing tags are given as above.

  • This tag element is used to insert extra comments into a document. Browser does not display comments written between these tags. It is however used to give extra information like Name of Author, Date, Time and Place document coded, useful information and remarks regarding the program.

 

Syntax:

<body>

<!- - this is comment - ->

</body>

 

Example: HTML program to show that comments are not parsed in web browser

Output:
Pr.Pg border                                              Next Pg