Reply to Why doesn't this form validate ?

Your name:

Reply:


Posted by Arjen on 10/13/06 22:51

Hi, this piece of html doesn;t validate. That w3c validator sais
something about block elements in inline elements. As I understand it
<p><form></form></p> is valid or am I wrong ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>test</title>
</head>
<body>
<div id = "testx">
<p>
text<br />
<form action="index.php" method="post">
veld:<br />
<input type="text" name="field" id="field"><br \>
<input type="submit" id="submitid" value="Submit" />
</form>
</p>
</div>
</body>
</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

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