English

How do you define comments in HTML?

Advertisements

Question

How do you define comments in HTML?

Short/Brief Note
Advertisements

Solution

Comments are used to describe the page or provide some kind of indication of the status of the page. The tag <!> is used to create comments. In HTML, the text what you type within this tag is considered as comments and it is ignored by the browser. Comments never show up onscreen. Comments can be placed anywhere in HTML document.

The general form of comments:
<! comments>

shaalaa.com
Python Comments
  Is there an error in this question or solution?
Chapter 10: HTML - Structural Tags - Evaluation [Page 236]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 10 HTML - Structural Tags
Evaluation | Q 4. | Page 236
Advertisements
Share
Notifications



      Forgot password?
Use app×