Comment Tag

Next ❯Header Tags

It is used to provide comments in the html page

  • The comment are not shown on the html page but shown on the source code of the page
  • Mainly helpful to the programmer or can say developer
  • Syntax: <!-- Your comment -->
Example:
  • label_outlineSingle Line Comment
    <!-- This is a single line comment -->
    • Just Start with <!-- and End with -->
    • This Attribute is used for reference purpose,You can comment any where in an HTML Page
    • The Comments are only visible when you check the source code of that page (For End Users)
    • You can see some comments on this page too. Just RIHGT CLICK -> Select VIEW SOURCE/VIEW PAGE SOURCE
  • label_outlineMulti Line Comment
    <!-- This is Multi Line Comment
    Line 1 comment
    Line 2 comment-->
    • To select Multiple line just start with <!-- and after the number of lines you want to comment use -->
    • Note! Please don't forget to use -->
Browsers Supports
SafariMicrosoft EdgeMozilla FirefoxChromeOpera Mini

Click on the above icon to see the name of the browser !

  • Tips! Always try to use latest version of browser

  • Header Tags
❮ Prev Summary
Next ❯Header Tags
TryOut Examples"Learn to Explore..!"

TryOut Editor

receipt