Reply to Re: document type does not allow element "HTML" here.

Your name:

Reply:


Posted by Sherman Pendley on 10/16/07 03:43

"bbxrider" <bxtrap01@job1data.com> writes:

> when validating my page i get the error in the subject line
> there is a total of 3 errors for the page
> i get 2 more errors at the end
> "head not finished but doc ended" and "html not finished but doc ended"
> i'm thinking these are the result of the first error
>
> here is the page start,
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
> <html>
> <link href="style.css" rel="stylesheet" type="text/css">
> <head>
> <title>stockton beautiful house for sale, lincoln schools 3/2, all new
> kitchen, bath, floors, windows</title>
> </head>
>
> <body>
> .............................................
> </body>
> </html>
>
> is this enough info to see what is wrong here?

A few comments:

The head element does not belong inside of the body element, it goes above it.

Meta elements belong inside the head element.

If you want to learn HTML, then learn HTML. Buy a book, read a tutorial, take
a class - whatever works for you. What *won't* work is just making stuff up
and hoping browsers somehow manage to cope with it.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

[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

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