Page 1 of 1

How to clear html validate errors ?

Posted: Thu Feb 28, 2008 5:39 am
by naveed82
Mozilla firefox is show a lot of errors of HTML validation. I diagnose these errors and shocked because these errors are pointless.

Example of errors:
<!-- HTML Code -->
<form id="frmShowUpdate" name="frmShowUpdate" method="post" action="url ... ">

<!-- errors -->
"name" is not a attribute of form tag
also showing on all attribute of form tag.

i have also checked all tags and replaced "" with single ''.

Re: How to clear html validate errors ?

Posted: Thu Feb 28, 2008 11:13 am
by Reviresco
The "name" attibute for the form element is deprecated in XHTML:

http://www.w3.org/TR/xhtml1/#h-4.10

"Note that in XHTML 1.0, the name attribute of these elements is formally deprecated, and will be removed in a subsequent version of XHTML."

Re: How to clear html validate errors ?

Posted: Thu Feb 28, 2008 11:12 pm
by naveed82
thanks buddy ...

i have fixed these problems