HTML Comments

HTML Comments


  •   Comments are a piece of code that is ignored by a web browser.
  •   Comments help us to understand the code.
  •   All programming language has their commenting style.
  •   In HTML, we use  <!--     content   --> tag. Any content placed in these brackets will be treated as a comment.
  •   Shortcut Keys are "Ctrl + /" . This will automatically put our selected content as a comment
  •   There are two types of comments: Single comments and Multiline comments.

HTML Code: