HTML Comment Tag

The comment tag is used when any text or tag or element that will not appear in the output or webpage but want to put in the web page.

  • The <!-- --> is an HTML comment Element.
  • To comment out in HTML tag,element  insert information between <!-- and --> tags (browsers won’t show these notes nothing will execute like HTML tags).

Example for HTML Comment Tag

<head>
</head>
<body>
<u> Welcome to w3htmlschool.com
</u> ! .. will help beginner and expert to learn HTML .Make your own web page
<!– This is comment –>
</body>