SEARCH: webmonkey  the web

 
The How-to Library:

Authoring
Design
Multimedia
E-Business
Programming
Backend
Jobs
---------
About Webmonkey



<advertisement>

Lycos Domains
Lycos Domain Names
Get email forwarding, domain management tools, and more for just 9.95 a year!

</advertisement>



Sign up for Elbow Grease,
our newsletter.

Authoring   HTML Basics
Comment

<!-- --> creates a space for comments

The comment tag does just what its name implies. It creates a space in your HTML document for content that won't appear on the page itself. Since everything inside the comment tag remains hidden, you can use it for personal reminders or notes to the pe ople you're working with. But take heed: Comment tags are visible to anyone who views your source code; if you hide your deepest, darkest secrets here, someone's likely to get an eyeful.

Comment tags look like this:

<!--Eric, please keep your comments to yourself.-->
We'd show you what it looks like, but, um, it's hidden. You'll just have to trust us on this one.

A word on placement: comment tags should fall within the <body></body> tags, NOT within the <head></head> tags.



Learn More
View Source
Paragraphs
Headlines
Links
Mailtos
Comment tags
Bold/Italics
Font color
Font size
Teletype
Blink
Preformatted text
Background image
Background color
Blockquotes
Line breaks
Aligning text
Adding/Aligning Images
Ordered lists
Unordered lists
Definition lists
Image borders
Wrapping text