why do we insert comments in an HTML document even though they are not displayed on a webpage
Answers
Answered by
56
What is comments ?
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.
Your answer :
Comments are not displayed in the browsers. You can use comments to explain your code, which can help you when you edit the source code at a later date.
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.
Your answer :
Comments are not displayed in the browsers. You can use comments to explain your code, which can help you when you edit the source code at a later date.
Answered by
4
Answer:the comments is not insert in browser.
Explanation:but it help to give more details of your programming. Whenever anyone view your source code it is give him more information.
Similar questions