- From: Dominique Hazaël-Massieux <dom@w3.org>
- Date: 11 Feb 2003 16:31:31 +0100
- To: "Short, Christopher B. " SrA <christopher.short@jcs1.jcse.mil>
- Cc: "'www-validator@w3.org'" <www-validator@w3.org>
Received on Tuesday, 11 February 2003 10:34:11 UTC
Le mar 11/02/2003 à 16:20, Short, Christopher B. SrA a écrit : > <input type="radio" name="sitesearch" value="" checked /> > > The checked component makes for a non-XHTML compliant web page according to > W3C's Validator. I've done quite a bit of research and have found nothing > to make sense of it. Putting it in quotes does no good either. You can see > the page of the code at http://www.shortfamilyonline.com/links/ http://www.w3.org/TR/xhtml1/#h-4.5 says "XML does not support attribute minimization. Attribute-value pairs must be written in full. Attribute names such as compact and checked cannot occur in elements without their value being specified." So the correct code would be: <input type="radio" name="sitesearch" value="" checked="checked" /> Hope this helps, Dom -- Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/ W3C/ERCIM mailto:dom@w3.org
Received on Tuesday, 11 February 2003 10:34:11 UTC