Comment in HTML.

Q9. When can a comment be placed in a HTML document? How is it useful?

OR

How do you give a comment in HTML?

OR

Where can a comment be placed in an HTML document? How is it useful?

Ans. Comments are special type of textual information which appears in the HTML code, but not is a part of the layout of the Web page.

<HTML>

<HEAD>

<TITLE> WELCOME TO HTML</TITLE>

</HEAD>

<BODY>

<!- – This is comment. –>

This text will be displayed.

</BODY>

<HTML>

 

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: