W3C home > Mailing lists > Public > www-validator@w3.org > May 2007

Re: Please solve my problem

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 10 May 2007 20:00:28 +0300 (EEST)
To: "Nitin Gupta (Dimension I)" <niting@dimensioni.net>
cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.64.0705101958130.9243@hopeatilhi.cs.tut.fi>

On Thu, 10 May 2007, Nitin Gupta (Dimension I) wrote:

> Please see solve my below problem in html page, i m check my page on w3c validator, all error r removed but only one left error so please you can help me remove this error:
>
> Error Name there is no attribute "NAME".
>                <form name="contactForm" method="post" action="contact.php" onsubmi
>
> & please reply me ASAP.

You are probably using an HTML 4.0 DOCTYPE, which does not allow the NAME 
attribute. In that case, you can switch to HTML 4.01, e.g.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
           "http://www.w3.org/TR/html4/strict.dtd">

Alternatively, you could remove the NAME attribute and modify the 
JavaScript code that refers to the form.

Generally, posting the URL of a problem page makes it much easier to give 
prompt responses.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 10 May 2007 17:00:49 GMT

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