Hi Folks.

I was wondering if anyone could help me? I'm trying to get my pages validated to XHTML 1.1 and can't get an email form validated. This is what I get.
Line 204, column 57: document type does not allow element "input" here; missing one of "a", "span", "em", "strong", "dfn", "code", "samp", "kbd", "var", "cite", "abbr", "acronym", "q", "tt", "i", "b", "bdo" start-tag

<pre> Name: <input type="text" name="name" size="30" /></pre>
I also get this element problem with the "textarea" element too.

My Code is:
<div id="middlecolumn">

<br /> <br />

<h3> Please fill in your details below and we will reply to you as soon as possible! </h3>
<br />
<form method="post" action="mailer">
<pre> Name: <input type="text" name="name" size="30" /></pre>
<pre> Email: <input type="text" name="email" size="30" /></pre>
<pre> Subject: <input type="text" name="subject" size="30" /></pre>
<pre> Message: <textarea name="Message" rows="8" cols="50" /></textarea></pre>

<pre> <input type="submit" value="Send Email" /> </pre>

</form>

<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />

<br />
</div>
What am I doing wrong here. Can anyone offer advice please?


Stewarty-boy.