Learn HTML Code Tutorial Reference Guide

<COMMENT>

Usage Recommendation
don't use it thumbs down

<COMMENT> is an old Mosaic and Microsoft Internet Explorer tag. It's a nice tag, but it was implemented in a weird way and never really caught on. Don't use it. <COMMENT> causes the browser to ignore everything between <COMMENT> and </COMMENT>. Unfortunately, because Netscape does not recognize the tag, most people will see those embarrassing comments:

<COMMENT>
Plans for improving this page: 
   - stop writing pages in the nude
   - learn to spell
</COMMENT>

gives us

Plans for improving this page: - stop writing pages in the nude - learn to spell

<COMMENT> only ignores text which is NOT in a tag. For example,

<COMMENT>
Plans for improving this page: 
   - <B>GOT</B> to stop writing pages in the nude
   - learn to spell
</COMMENT>

prints the GOT part:

Plans for improving this page: - GOT to stop writing pages in the nude - learn to spell

No word yet on whether this is considered a bug or a feature.

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial