W3C home > Mailing lists > Public > www-validator@w3.org > August 2002

Re: Problem with <FORM> in HTML 4.0 Transitional Validation

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 8 Aug 2002 18:56:13 -0400 (EDT)
To: Ryan Gregg <rgregg@wheatlandsystems.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0208081855070.24667-100000@localhost.localdomain>

On Thu, 8 Aug 2002, Ryan Gregg wrote:

> I'm trying to validate an HTML 4.0 Transitional page I've written, and I
> keep getting the following error:
>
> Below are the results of attempting to parse this document with an SGML
> parser.
> * Line 13, column 13:
> 	<form name="Form1" method="post" action="default.aspx"
> id="Form1">
> 	           ^
> 	Error: there is no attribute "NAME" for this element (in this
> HTML version)
>
> However, when I checked the specification for HTML 4.0 Transitional, it
> clearly lists the name attribute as a validate attribute for the form
> element.  Am I doing something wrong?

The NAME attribute was added in HTML 4.01, so you need to change your
DOCTYPE to specify that.

-- 
Liam Quinn
Received on Thursday, 8 August 2002 18:56:15 GMT

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