You are here: Re: Problems with form « HTML « IT news, forums, messages
Re: Problems with form

Posted by Edwin van der Vaart on 08/13/05 19:14

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?
Change the doctype to a proper doctype eg.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Then try it again.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction

 

Navigation:

[Reply to this 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

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