Advertisements
Advertisements
Question
How do you define comments in HTML?
Short Note
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
Comments
Is there an error in this question or solution?