[Bug 12714] <input /> tag not accepted within a <form> block

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12714

Etienne Miret <elimerl@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |elimerl@gmail.com
         Resolution|                            |INVALID

--- Comment #2 from Etienne Miret <elimerl@gmail.com> 2011-08-23 20:22:22 UTC ---
The <form> element allows only script and block level elements as children:
http://www.w3.org/TR/html4/interact/forms.html#h-17.3

However, form controls, including <input> are inline level elements:
http://www.w3.org/TR/html4/sgml/dtd.html#inline

Thus, the last two <input> in the HTML code given are invalid.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 23 August 2011 20:22:27 UTC