html comment tag (<!-- --> )

The comment tag is used for hide a text from the browser and you can use comment tag to inside of code at any place in inside of <body> tag. if you use to comment for html page content use between tag. In this tag will not display to user but it available to the program and it can visible for developer only.

Syntax:

<!-- Comment Text -->

Example Code



<!DOCTYPE HTML>
<!-- PHP is a general - purpose scripting language originally designed for web development to produce dynamic web pages. -->

In the above example comment tag have been added to PHP definition.Which content will not display at broswer.





Content