• Have Any Question?
  • contact@eitworld.com

HTML Comments





    • Comments are those statements which can not be displayed by the browser, but they give the information about your html document.
    • Comment tags <!– and –> are used to insert comments in HTML.

Example

<!– This is a comment –>

 

  • With comments you can put description of your task in your Html document:

Example

<!– This is a heading –>
<h1>This is h1 tag.</h1>

 

Conditional Comments

 

  • You can also use conditional comment in the Html document.
  • Conditional comments defines HTML tags to be executed by Internet Explorer only.

Example

<!–[if IE 8]>
…. some HTML here….
<![endif]–

 



Real Time Web Analytics