Master java skills

HTML Comments

HTML comments are snippets of text within an HTML document that are not displayed by the web browser when the page is rendered.

Comments are used to add notes or annotations to the code for the benefit of developers.

HTML comments are enclosed within <!-------> tags. Anything within these tags will be ignored by the browser when rendering the page.

HTML Comment Syntax:

<!-- Write your comments here -->

Note : There is an exclamation point (!) in the start tag, but not in the end tag.

You can comment your code instead for deleting, it will not going to display on browser.

Example


<!-- This is a comment -->

<p>This is first paragraph.</p>

<!-- I don't need further the below code, commenting it -->

<!-- <p>kya hua tera wada</p> -->

<p>This is second paragraph.</p>

<!-- Remember to add more information here -->

Output: