HTML Tutorial in Hindi [Part 7] – HTML Comments

In this tutorial i will talk about HTML 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.

why html comment is important
Generally, HTML comments are for you or other developers who might be looking at the source code. Their purpose is to help the author of the code and other developers understand it better. Using HTML comments, you can explain your choices to a colleague reviewing your code or even debug a program quicker.

You May Also Like