McCain wrote:
> Hi,
> 
> I am trying to validate like XHTML 1 Strict a web page with a form.
> There is checkbox that it has to be checked using "checked". The W3C
> validador gives me error constantly in this. There is no possibility
> of using "checked" in XHTML?
> 
> McCain

This should do it (I think):
<input type="checkbox" checked="checked" />

The following example is not allowed:
<input type="checkbox" checked />
(minimized attributes are not allowed in xhtml)

-- 
Lennart Fylling
http://lennart-fylling.com 
Norway



******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
> Proud presenters of Web Essentials 04 http://we04.com/
>  Web standards, accessibility, inspiration, knowledge
> To be held in Sydney, September 30 and October 1, 2004
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************


******************************************************
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
 Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to