- From: S.Hayles <sh23@leicester.ac.uk>
- Date: Tue, 6 Dec 2005 15:00:09 +0000 (GMT)
- To: David Dorward <david@dorward.me.uk>
- cc: "Hayles, S." <sh23@leicester.ac.uk>, www-validator@w3.org
On Tue, 6 Dec 2005, David Dorward wrote: > On Tue, Dec 06, 2005 at 10:57:36AM -0000, Hayles, S. wrote: > >> If I read the documentation correctly <br> (or <br /> as appropriate) > > Which documentation? References are always helpful. > >> cannot be directly contained within a form element, but XHTML 1.0 >> transitional validation seems to think it's OK. > > It is allowed under the specification (for Transitional DTDs). Sorry, I hadn't spotted that difference between Transitional and Strict DTDs. Strict: <!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form --> http://www.w3.org/TR/html401/sgml/dtd.html Transitional: <!ELEMENT FORM - - (%flow;)* -(FORM) -- interactive form --> http://www.w3.org/TR/html401/sgml/loosedtd.html In which case, HTML 4.01 transitional validation shouldn't be objecting. Steven
Received on Tuesday, 6 December 2005 15:00:40 UTC