Posted by Ed Jay on 10/13/06 23:17
Arjen scribed:
>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 />
Is this supposed to be />
><form action="index.php" method="post">
>veld:<br />
><input type="text" name="field" id="field"><br \>
or like this \>?
><input type="submit" id="submitid" value="Submit" />
></form>
></p>
></div>
></body>
></html>
--
Ed Jay (remove 'M' to respond by email)
Navigation:
[Reply to this message]
|