HTML Comments

HTML Comment Tags
Comments are used to ignore the html code by web browser.Comments are helpful for developer to understand code and increases code readability.

You can use following syntax for HTML comment:

<!– … –>


<!– HTML content goes here –>
Comment Tag in HTML

Some browsers support <comment> tag to comment a code in HTML.


<!DOCTYPE html><html>
<p>Comment <comment>Example</comment> .</p>

Leave a Reply

Your email address will not be published. Required fields are marked *