Tsuni_Night


Lesson 1 - Getting Started Lesson 2 - Fonts & Color Lesson 3 - Comments Lesson 4 - Links
Lesson 5 - Pictures & Graphics Lesson 6 - Spacing Lesson 7 - Tables Lesson 8 - Forms

HTML HELP
Lesson 3 - Comments

Comments are generally used to hide things in your code.  You can use them to hide entire sections of code, or to simply mark things in your code so they are easier to find.  I personally prefer them for marking certain sections of code.  This will allow me to find important parts of code easier when glancing through it. 

When you are commenting something out it should start with a  <!-- and end with a -->  In the example below I am commenting out the body.  Where it starts and where it ends.   The customer will not see either of these examples.  The only time this will be viewable is when someone is viewing the HTML source code.

<!-- START BODY -->

<!-- END BODY -->

If you you would like to block out multiple lines you would do that by doing the following:

<!-- 

START COMMENTING OUT

The lines between the <!-- --> tags will not show up to the viewer. All you need to do is make sure the start comment out starts with a <!-- and that when you wish to stop commenting it out you end it with a -->

-->

Top

[ Home ] [ Forums ] [ Tsuni ] [ Bryir ] [ HTML Help ] [ PayPal Help ] [ Zodiac ] [ Links ]