This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I've tried to validate this code: <!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"> <head> <title>Calculator</title> </head> <body> <form method="get" action="./"> <input type="text" value="" name="ii" /> </form> </body> </html> But it doesn't accept the <input> tag. It says Line 10, Column 39: document type does not allow element "input" here; missing one of ...[a long list of tags]... start-tag It works in XHTML Transitional, though.
As the validator says, <input> is not allowed directly in <form> in XHTML 1.0 Strict. Wrap it in one of the "[a long list of tags]".