WebBuilder101 - Making the web happen!
Need Web Dev software? Here is the place to
Flash Point
Comment your HTML Documents

By Eddy R.
09/21/99

HTML documents can contain from as little as ten lines of code up to hundreds of lines of code. As a rule of thumb, an HTML document should always contain comments. You can use comments to document your markup, make notes for future reference, and provide information for others who might work with the same source code.

A comment line starts and ends with the following tags.

<! -- comment text -- >

The comment tags are legal within all HTML markup tags and as a general rule they should be placed on a line apart from other HTML text. Here is a quick example of how to use comment tags.

<html>
<
head>
<
meta name="title" content="Using Comment Tags">
<
title>Comment your HTML Documents</title>
<
/head>
<
body>
<!--  Link to Webbuilder101.com -->
<
a href="http://www.webbuilder101.com">Webbuilder</a>
<!--  Link to Webmaster's e-mail address -->
<a href="mailto:webmaster@webbuilder101.com">E-mail</a>
<
/body>
<
/html>

.

 

More Resources
Learn the code
What is HTML?
HTML Editors

Suggested Reading

Beginning Active Server Pages 3.0
JavaScript Bible
Red Hat Linux
Dreamweaver 3.0
HTML Bible



Download WB101 Wallpaper
• Web Builder 101 Wallpaper Get it!.
• Find out how to create your own Wallpaper Teach me!.
Sign up for our Newsletters
• Web Building Sign me Up!.
• Net Alert! Sign me Up!.
Need Help?
• Contact Support Click here.
• E-mail the Webmaster Click Here.
• Search Tips Click Here.

Webbuilder101.com © 1998 - 2003 Copyright and Terms of Use
Send mail to: webmaster@webbuilder101.com

» About » Support

» FAQ » What's New » MyLog

Web Builder 101 Web Builder 101 - Making the Web Happen Web Builder 101 - Making the Web Happen
.