Adding HTML Comments
Using comments in your HTML code
<!-- I am a comment. I feel invisible though. -->
You can comment on multiple lines, just be sure you remember to end the comment!
<!--
You can't see me....
unless you look at the page source code.
-->
To look at something more useful, you could use a comment to remind yourself that a section of code is supposed to perform a certain task:
<!-- This image should be aligned to the right, and have alt text -->
<img src="mypet.gif" align="right" alt="Look at my Kitty Cat!" />
Of course, you do not need to have a kitty cat to qualify!
Well, that does it for comments. So, let's move on to the next section: Using HTML Lists.
Topics:
HTML & CSS | JavaScript | CGI & Perl | ASP/PHP | DHTML | Java | Contact Us |
Privacy Policy
Copyright © 1997-2010 The Web Design Resource. All rights reserved. Disclaimer.
Copyright © 1997-2010 The Web Design Resource. All rights reserved. Disclaimer.
