Why do we insert comments in an HTML document even though they are not displayed on a Web page.

Q9. Why do we insert comments in an HTML document even though they are not displayed on a Web page?

Ans. Comments are meant for the developers and programmers to understand code. They are not displayed in the Web browser.