HTML Comments

Example

<!DOCTYPE html>
<html>
<body>

<!– This is a comment –>
<p>This is a html program.</p>
<!– Comments are not displayed in the browser –>

</body>
</html>

Output

This is a html program.

Example

<!DOCTYPE html>
<html>
<body>

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

</body>
</html>

Output

 
 
 

This is a html paragraph.

Updated: February 11, 2019 — 5:57 am
Java Script © 2019