Pr.Pg Next Pg

<COMMENT> </COMMENT> tag tutorials

  • This is a paired tag. It requires opening and closing tags.

  • 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. It is same as <!-- .. -->


Note: Internet Explorer 9 (not earlier or later versions), supports the <command> tag.




<comment>some text to be comment</comment>



Example: HTML program which uses Comment tag for commenting

Pr.Pg border                                              Next Pg