W3C home > Mailing lists > Public > www-validator@w3.org > September 2001

XHTML + <form ...> </form> BUG?

From: Sebastian Boschert <sebi@foo.dyndns.org>
Date: Sun, 23 Sep 2001 17:46:13 +0200
Message-Id: <200109231538.f8NFc0f02025@foo.dyndns.org>
To: www-validator@w3.org

For hours I have tried to get the following for validate, but for some
reason, I always get an "element 'input' not allowed here; possible cause is
an inline element containing a block-level element" error. Am I just too
dumb or is it a bug in the validator?

Oh, here's the piece of code that I can't get validated:


<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
  <title>Some weird test that does not work</title>

  <link rel="stylesheet" type="text/css" href="./stylesheet.css" />

<div class="notes">Some text here...</div>

<form action="test" method="post">
<input type="text" name="a" ></input>



Please send me a private Cc e-mail if you know what the problem is since I
need to solve this problem as soon as possible.
Thank you very much in advance!

Received on Sunday, 23 September 2001 11:46:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:24 UTC