You are here: validation of a 4.01 webpage with a form... « HTML « IT news, forums, messages
validation of a 4.01 webpage with a form...

Posted by dorayme on 10/08/05 15:14

The following markup causes the W3C validator to count 6 errors.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<head>

<title>A Title</title>

<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

</head>

<body>

<form method="get" action="http://search.atomz.com/search/">
<input size="20" name="sp-q">
<input type="submit" value="Search">
<input type="hidden" name="sp-a" value="sp1002a0e9">
<input type="hidden" name="sp-p" value="all">
<input type="hidden" name="sp-f" value="ISO-8859-1">
</form>

</body>
</html>

It seems not to matter whether I wrap the form in a div or not,
style the div or the form, the same errors, to wit:

Error Line 14, column 28: document type does not allow element
"INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5",
"H6", "PRE", "DIV", "ADDRESS" start-tag .

<input size="20" name="sp-q">

and so on for each input...

Help, anyone please?

dorayme

 

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

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