Hey Chris The DTD says:
<!ELEMENT form %form.content;> So <form> can only contain elements in the %form.content entity. <!ENTITY % form.content "(%block; | %misc;)*"> So form.content means the %block entitiy & the %misc entity. <!ENTITY % block "p | %heading; | div | %lists; | %blocktext; | fieldset | table"> Keep following this sort of logic through the DTD..... <!ENTITY % heading "h1|h2|h3|h4|h5|h6"> <!ENTITY % lists "ul | ol | dl"> <!ENTITY % blocktext "pre | hr | blockquote | address"> ...and... <!ENTITY % misc "noscript | %misc.inline;"> <!ENTITY % misc.inline "ins | del | script"> So after all that we can deduce that you are only allowed the following tags immediately inside your <form>: p, div, fieldset, table, h1, h2, h3, h4, h5, h6, ul, ol, dl, ins, del, script. If you read the validator message again: 'Line 36, column 18: document type does not allow element "label" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag' This is exactly what its saying (almost). If you change: <label for="name">Name:</label> <input id="name" name="name" type="text" /><br /> <label for="email">Email Address:</label> <input id="email" name="email"type="text" /><br /> To: <p><label for="name">Name:</label> <input id="name" name="name" type="text" /></p> <p><label for="email">Email Address:</label> <input id="email" name="email"type="text" /></p> You should be right! Cheers Mark ------------------ Mark Stanton Technical Director Gruden Pty Ltd Tel: +61 2 9299 9462 Fax: +61 2 9299 9463 Mob: +61 410 458 201 http://www.gruden.com ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************