|
ThreeWorldsWeb
presents WebStartCenter |
XHTML Class Guide and Reference
|
Comments (hiding remarks on a page)If you want to be able to write something in your HTML that does not show up in the browser window, put it inside a comment tag. A comment starts with <!-- and then everything until --> is hidden. You can use comments to temporarily hide something that isn't working, to remind yourself of what a particular piece of your HTML is doing, or any other semi-private remark. If you learn Javascript, you will need to use comment tags to hide the script from browsers that don't understand it. Comments are especially useful if you are working on complicated web pages that other people will also be working on. There are many comment tags on pages of this site. View the source and see them. Comment tags are not totally private, they can be seen by anyone who looks at the page source, so don't use them for real secrets. Copyright 1999 - 2001 Annelise J.Bazar
|