Horje
How to add HTML Comments

With comments you can place notifications and reminders in your HTML code:


Example of adding HTML Comments

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Comments are not displayed in the browser -->

</body>
</html>

Output should be:

Example of adding HTML Comments





Related Articles
What is HTML Comments HTML Comments
How to create HTML Comment Tag HTML Comments
How to add HTML Comments HTML Comments
How to Hide HTML Content HTML Comments
How to Hide HTML Content Part 2 HTML Comments
How to hide Inline Content HTML Comments

Single Articles
Example of adding HTML CommentsHTML Comments

Read Full:
HTML Comments
Category:
Web Tutorial
Sub Category:
HTML Comments
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
58


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_comment

Share on: