How to write comments in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
<head>
    <title>Comments in HTML</title>
</head>
<body>  
    <!-- A single line HTML comment -->
  
    <h1>Comments in HTML</h1>
  
    <!-- A
		 multi-line 
         HTML comment  -->

</body>
</html>



<!--
run:

Comments in HTML

-->


 



answered Dec 25, 2021 by avibootz

Related questions

...