Skip to Main Content


The Comment Tag

By: Neil Thurlwell - SEO for BT (CustomerStreet)
Comments (1)
Dec
19

Customer Street advice on using the COMMENT tag in your website coding.

What is the COMMENT Tag ?

The comment tag was designed so that you can add comments to your website code. Comments within these tags are ignored by internet browsers so you can add whatever comment you like. None will be seen in the browser. Use comment tags to add comments to you code for reference to help you later on should you need to quickly find certain areas of code.

Example

The comment tag is in green in this sample. Colours maybe different depending on the software you use.

HTML Comment Tag

Why is the Comment Tag important ?

The comment tag is important as you can comment and add notes to your code making changes and fault finding much quicker for you.

  • Digg
  • del.icio.us
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • Netscape
  • NewsVine
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb
1 Star2 Stars3 Stars4 Stars5 Stars
4
after 2 Votes

1 Comments

On Mon 7 Jan music wrote :

very interesting.
i’m adding in RSS Reader

Leave a comment

Back to Top