W3C home > Mailing lists > Public > www-validator@w3.org > February 2009

Re: </form> not valid!?

From: Sierk Bornemann <sierkb@gmx.de>
Date: Wed, 11 Feb 2009 22:56:09 +0100
Cc: www-validator@w3.org
Message-Id: <07C7EFCB-0C78-4E19-80DB-940A30FE21B9@gmx.de>
To: casa.roberto@hotmail.it


Am 11.02.2009 um 19:45 schrieb Roberto:

> Hello, I'm Roberto and I'm italian.
> My site is valid, but if I add at the end of any form this: "</ 
> form>" the validator shows me an error.. Why? It is a bug?
>
> Here you can find the html code.
> http://pastebin.com/m20e10b0
>
> The error is at line 90.
>
> <form method="post" action="search.php" / 
> >                                 Keyword:<br / 
> >                                 <input type="text" name="keyword"  
> value="" class="tx" style="width: 120px;" /><br / 
> >                                 <input type="submit" value="Cerca"  
> class="submit" />                         </form>
>
> Bye


The error is indeed at line 90: you have already closed the form  
element just at the beginning instead of letting it open. You've written
<form method="post" action="search.php" /> instead of <form  
method="post" action="search.php"> .

Regards,
Sierk

-- 
Sierk Bornemann
WWW:              http://sierkbornemann.de/
Received on Wednesday, 11 February 2009 21:56:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:34 GMT