[thelist] XHTML form radio button code not validating
Sharon F. Malone
sfmalo at 24caratdesign.com
Mon Mar 17 07:10:53 CST 2003
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
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com
*No keyboard detected.*
*Press F10 to proceed.*
More information about the thelist
mailing list