html how to add comment code example
Example 1: commenting in html
<!-- a comment in html -->
Example 2: comment in html
<!-- this will be ignored -->
Example 3: html how to add comment
<!-- This is the first comment, it won't be shown on a page -->
<h1>And this is a header. It will be fully visible.</h1>
<!--
Multiline comment.
You can place a lot of information there.
Maybe even a whole book.
-->
Example 4: hmtl comment
<!--
this is a multi-line comment and is the only way to comment in html
However you can put them on the same line
-->