Monday, August 1, 2011

HTML Comments





As a programmer its a good practice to comment a piece of line in order to inform which code is for which logic and implemented by whom and why that particular code is used.

Therefor for this purpose the comments are used.
These are indicated using TWO FORWARD SLASHES to comment single line
and ONE FORWARD SLASH followed by * and ending the block comment using * followed by ONE BACKWARD SLASH

Example


No comments:

Post a Comment