What are HTML comments ? explain
Answers
Answered by
3
Answer:
This element is used to add a comment to an HTML document. An HTML comment begins with <!–– and the comment closes with ––>. HTML comments are visible to anyone that views the page source code, but are not rendered when the HTML document is rendered by a browser.
Read more: https://html.com/tags/comment-tag/#ixzz5siLYVgi5
Answered by
2
Answer:
Comments are added to the code of HTML to provide a short description of the code. It is not visible on the web page but is kept for development purposes as it plays a very important role for the web developer.
To add comment in HTML document we use,
<!-- Anything written inside this angular bracket will not be shown on web page >
Similar questions
English,
6 months ago
English,
6 months ago
History,
6 months ago
Computer Science,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago