how do you define comments in HTML
Answers
Answered by
6
This element is used to add acomment 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 HTMLdocument is rendered by a browser.
Answered by
0
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