Reply to Re: <html> tag missing, but still validating

Your name:

Reply:


Posted by Barbara de Zoete on 10/07/05 02:04

On Fri, 07 Oct 2005 00:52:05 +0200, windandwaves <winandwaves@coldmail.com>
wrote:

> Hi Folk
>
> Please have a look at :
>
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.historymakers.co.nz%2F
>
> The page validates (except for oversrc, which is meant to be there
> (Javascript)).
>
> HOWEVER, i just noticed I did not use the starting html tag (there is a
> </html> at the end), yet no mention of it.
>

> Why is the
> validator not picking up the missing <html> tag or is the first line the
> html tag?

It's not. From the DTD:

<!--================ Document Structure ==================================-->
<!ENTITY % html.content "HEAD, BODY">

<!ELEMENT HTML O O (%html.content;) -- document root element -->
<!ATTLIST HTML
%i18n; -- lang, dir --
>


--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация