Click to See Complete Forum and Search --> : Validation error: "form"


Css_Calav
04-06-2005, 09:50 PM
hi guys,

can anyone help me with these form errors?

im not too sure what is wrong as all my form tags have </form> close tags with them.

im using a loop in PHP to display each plane does that have something to do with it?

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.deskjetmodels.co.nz%2Fhistoric_1st_flight.php

and here is the webpage: www.deskjetmodels.co.nz/historic_1st_flight.php

thanx guys

BonRouge
04-06-2005, 10:39 PM
You've closed the form tag here :
<form name="B0932X3W" method="post" action="cart.php?action=add_item&amp;id=94&amp;qty=1"/>

Remove the '/'. :)

Css_Calav
04-06-2005, 10:42 PM
silly me thanx BonRouge

Css_Calav
04-06-2005, 10:46 PM
BonRouge,

while your there

do you know what this is:

non SGML??

in the validator

UPDATE
-------

i know what they are now just have to fix!

Charles
04-07-2005, 04:15 AM
You declaired a character encoding of text/html; charset=iso-8859-1 but you've included some quotation marks that aren't a part of that character set. For anything that isn't on your keyboard use entities. See http://www.w3.org/TR/html401/sgml/entities.html .

And What's up with the XHTML 1.0 Transitional? You would be better off just using HTML and much better off if you used HTML 4.01 Strict or even XHTML 1.0 Strict.

Css_Calav
04-14-2005, 07:55 PM
can i just changed my chacterset just like that?

and can i have it different for some pages?

BonRouge
04-14-2005, 09:36 PM
I think it's best to have one character set throughout.

You don't have a big problem here though. For some reason, you're using different quotation marks for the name of the first plane ( “Glamorous Glennis” ) in the alt text and the specs. Just change them to regular quotes. i.e. change this : “ to this : " ... Would that be so bad?

By the way, you need to close the link tag for your print.css.

Css_Calav
04-14-2005, 09:58 PM
thanx BonRouge,

i didnt see the different quotes and dont know how they got there. my bro would have entered them in when he was inserting all the planes.

something to look out for next time.

and thanx for pointing out the open link tag :eek: