How to clear html validate errors ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
naveed82
Forum Newbie
Posts: 7
Joined: Thu Feb 28, 2008 12:01 am
Location: Islamabad, Pakistan
Contact:

How to clear html validate errors ?

Post 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 ''.
Reviresco
Forum Contributor
Posts: 172
Joined: Tue Feb 19, 2008 4:18 pm
Location: Milwaukee

Re: How to clear html validate errors ?

Post 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."
naveed82
Forum Newbie
Posts: 7
Joined: Thu Feb 28, 2008 12:01 am
Location: Islamabad, Pakistan
Contact:

Re: How to clear html validate errors ?

Post by naveed82 »

thanks buddy ...

i have fixed these problems
Post Reply