Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

<!-- ... -->

Usage Recommendation
thumbs up use it

<!-- ... --> allows you to insert comments into an HTML document and have them completely ignored by the browser. This is useful for such things as revision histories and notes about how to improve the document.

For example, this code

<!-- Creation Date: June 21, 1996              -->
<!-- Modifications:                            -->
<!-- Sep 26, 1996: Added Links to Steve's Page -->
<!-- Oct 10, 1996: Updated product list        -->

produces this (nothing):

<!-- ... --> will even "comment out" other tags. Everything is commented out until the closing -->. However, commenting out code tends to result in sloppy code. The best use for <!-- ... --> in this sense is for experimentation, to try out different code without deleting other attempts. But when the experimentation is done, take out the unused code.

For example:

<!-- <IMG SRC="biguglypumpkin.gif" ALT="pumpkin"> -->
<IMG SRC="pumpkin.gif" ALT="pumpkin">

would be good for trying out different GIFs, but take out the commented part after you've decided on an image.

Comments may not have double hyphens (--) within them. This is because technically the comment ends with --, not -->. In practice virtually all browsers don't end the comment until -->.


Copyright Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: