HTML Cookbook

Recipes for tasty webpages from
html.help.gnubee

Home of the MALLRATS




The Comment Tag


The comment tag allows you put comments in your code that will not be seen on your webpages or in email. It starts with <!-- and ends with -->. It "does" nothing, but it is a very handy way to put notes in your code.

Some examples of the comment tag:

Plan your page.
<!-- Put picture of Fluffy here -->
"How I got Fluffy"
blah blah blah
more blah blah
<!-- Put link to pet store site here -->
<!-- Get a guestbook & place it here -->
<!-- Put email link here -->
<!-- Add counter here -->

Leave notes for other people
<!-- Hi, if you're checking out my code, write to me at... -->

Lay out sections for your page
<!-- Begin bio -->
I was born on a rainy day in Georgia...
<!-- End bio -->

Navigate inside a large page. To get to "section a", enter "aaa" in your find box
<!-- aaa -->
aardvark
anteater
apple
...

<!-- bbb -->
baby
bird
boy
...

<!-- ccc -->
carriage
clock
...

Back To Index
More Mallrats Tutorials