| 
	
 | 
 Posted by Edwin van der Vaart on 08/13/05 23:09 
Frogleg wrote: 
> http://home.earthlink.net/~absolutelyfake/test.htm 
>  
> fails HTML 4.01 Strict validation rather spectacularly. The first 
> error,  
>  
> "document type does not allow element "INPUT" here; missing one of 
> "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" 
> start-tag.," 
>  
> refers to the first <input> tag. 
>  
> (It validates as HTML 4.01 Transitional) 
>  
> Of course the form doesn't *work*, because that web space has no SS 
> facilities. I just want to know why it fails validation. Any ideas? 
Try with a proper doctype eg. 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  
"http://www.w3.org/TR/html4/strict.dtd"> 
--  
Edwin van der Vaart 
http://www.semi-conductor.nl/          Links to Semiconductors sites 
http://www.evandervaart.nl/            Under construction
 
  
Navigation:
[Reply to this message] 
 |