The Comment Tag

When you want to make a comment in your HTML coding that you want someone to be able to read when they look at your codes, but you don't want it to show on your page you use the "comment" tag. It works like this. Say you're going along coding your little heart out. There is a section that you created that you want people to be able to copy and put on their webpages (which happens all of the time), but you want them to give you the credit. It might look a little something like this:

< yadda yadda tag yadda > <----this part shows up on the page

< ! The yadda yadda tag is my personal creation. Please make sure you give me credit when using it> <----this part does not show up on the page.

Of course when you do it you can't put a space before the ! or it won't work. Also, there is no such thing as a yadda yadda tag. What do you think this is, Sienfeld?

Back to lesson Two