Comments

Description

Comments are useful information about the HTML elements. Comments makes the HTML document more readable and understandable.

The comments in HTML begin with the tag <!-- and end with -->.

The browser will ignore anything you put inside these tags.

Example

The following code has a HTML comment.


<!DOCTYPE HTML>
<html>
    <head>
        <!--  metadata goes here   -->
        <title>Example</title>
    </head>
    <body>
       This is the <code>content</code>.
    </body>
</html>





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed