Re: Validation being kinda wierd...

Swivelgames Support wrote:
> Hey, I have recently made 
> 'http://www.swivelgames.com/templates/VistaCMS/index.php' valid, but I 
> was kind of shocked when I found out what I had to do to make it valid.
> 
> If you go there and look at the source, you can see that there is not 
> end </head> tag, nor is there a <body> tag..

See: http://www.cs.tut.fi/~jkorpela/html/empty.html

In HTML this construct:

<link href="./templates/style.css" rel="stylesheet" type="text/css" />

Is equivalent to

<link href="./templates/style.css" rel="stylesheet" 
type="text/css"></head><body>&gt;

(/ terminates the element, > isn't allowed in the head, but the end tag 
for head and start tag for body are optional)



-- 
David Dorward                               <http://dorward.me.uk/>

Received on Thursday, 8 March 2007 18:49:16 UTC