[thelist] XHTML form radio button code not validating
Kevin Isom
kisom at diocesan.school.nz
Wed Mar 19 20:46:56 CST 2003
Sharon
This is what you need to do checked="checked"
cheers
Kev
-----Original Message-----
From: Sharon F. Malone [mailto:sfmalo at 24caratdesign.com]
Sent: Tuesday, 18 March 2003 1:11 AM
To: thelist at lists.evolt.org
Subject: [thelist] XHTML form radio button code not validating
Am doing my second XHTML 1.0 Trans site ... and first form. Everything
validates except 3 radio buttons.
My code reads: <td colspan="2"><b>Please contact me regarding a custom quote
for Service Coverage:</b><br /><div align="center">Yes<input type="radio"
name="customquote" value="yes" checked tabindex="21"
/>   No<input type="radio" name="customquote"
value="no"/></div></td>
I get this error message from the W3C validator:
the name and VI delimiter can be omitted from an attribute specification
only if SHORTTAG YES is specified
...me="customquote" value="yes" checked tabindex="21"
/>   No<inp
and I just don't understand what I'm doing wrong.
Could someone give me a clue as to how to specify a SHORTTAG YES?
Should I remove the checked attribute entirely? I checked out my XHTML book
and couldn't even find "checked" so maybe I can no longer use it?
URL: http://www.24caratdesign.com/SSSI/register.html
Thanks,
Sharon
More information about the thelist
mailing list