html comment section code example

Example 1: commenting in html

<!-- a comment in html -->

Example 2: html comment

<!--This is a comment in html.-->
<!--You can put comments enywhere! It does not care if it is mid peice of
code in a peice of code! You must put the ending arrows in or it will
think everything is a comment! Note you can comment over multiple lines.
Use a ! at the start arrow, this may not make sence as the rest of
html uses tags where ! is at the ends.-->

Example 3: comment tags

<!-- This is how you do an HTML comment tag -->
 /* This is how you do a comment in the css STYLE section */
 // this is how you do a comment in javascript and php
 # This is a comment in Python

Example 4: comment in html

<!-- this will be ignored -->

Example 5: how to comment in html

<!-- your comment goes here -->

Example 6: 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.
-->

Tags:

Css Example