View Single Post
Old Jul 10th, 2006, 10:00 PM   #8
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 582
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
Quote:
#1 - Your comment code is wrong. The correct format is this:
<!--This is a comment-->

The code above is a comment, therefore, would not actually show up on the page.

#2 - The body and title tags

Your right on a few things, but need some clarification. The body tag is normally reffered to as the "visual part of the page". Everything in it, gets rendered and displayed. The title tag, should be placed within the head tag. The head tag is where you would put things that don't actually show up in the page, such as javascript functions, styles..etc. The title tag is supposed to be in the head tag. Like...

<html>
    <head>
        <title>My page</title>
    </head>

    <body>
         <!--Comment: Visual part of page-->
    </body>
</html>

Last thing, the bgcolor tag you have in there is old. The proper most effective way is to use stylesheets.
All right... I'll admit I forgot the head tags but I have always used the bgcolor tag and when I checked in Dreamweaver the comment looked correct(it put everything inbetween in italics) I did not bother to check it until just now and again i'll admit i was wrong. I will be glad to rewrite it. Also at Ooble I have never used a doctype tag and it works just fine. not to be rude but whats the point exactly? sorry if i offenden anyone
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote