Professional Documents
Culture Documents
Comments
Comments
The comments are basically used by programmers to remind themselves what they want
to achieve with the tags. The comments only appears when the document is opened in
the text editor and not when document is opened in the web browser, they are invisible
to the visitors in the browser. Comments can be single line or multiline comments.
Comments are a great way to add reminders in the text. Let us take a look at the code to
use comments :
<html>
<head>
<title>Comments</title>
</head>
<body>
<!-- This is a comment -->
Hello there !...
<!-- This is a
multiple-line comment
that ends on this line -->
My name is sourabh bhandari... I am studying in Guru Nanak Dev University situated in
holy city of amritsar.
</body>
</html>