HTML Comment Tags

Comment is a piece of code which is ignored by any web browser. Comments are not displayed by the browser, but they can help document your HTML source code. Your HTML source by using the following syntax.

Example

<!– This is a comment –>

<p>This is a paragraph.</p>

Conditional Comments

You might stumble upon conditional comments in HTML: Conditional comments defines some HTML tags to be executed by Internet Explorer only.

EXAMPLE

<!–[if IE 9]>

…. some HTML here ….

<![endif]–>