You guys are both correct, because you're talking apples and oranges.

"CHECKED" is a boolean attribute in HTML 4. It has no value.

But XML has no concept of boolean attributes, so in XHTML 1.0 you must
specify checked="checked".

- Mark.


-- 
Mark Thomas                 [EMAIL PROTECTED] 
Internet Systems Architect     DigitalNet, Inc. 

$_=q;steal Porch Junk;;split//;$_=q=cd0153e71;
s/56s/45;39fs/=;y;\;s/;a28s/;;;s;$/;;;s((.))/;
q.$_[..$..$_[10].$_[2].q.x..q.($1)]./gee/print



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Buddy Burden
> Sent: Friday, October 29, 2004 2:36 PM
> To: Roderick A. Anderson
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Templates] [PL] Coding for Y/N radio buttons
> 
> 
> Rod,
> 
> > Is 'CHECKED' xhtml compliant?  I probably need to go back 
> to the books
> > and standards but I thought it had to checked="checked".
> 
> Well, my favorite HTML syntax site says it's cool, so that's probably 
> where I picked it up:
> 
        http://www.htmlhelp.com/reference/html40/forms/input.html

Wandering over to w3.org for the official word, I think this:

        http://www.w3.org/TR/html401/interact/forms.html#h-17.4

is the appropriate page, and, if I read it correctly, it looks like not 
only is checked="checked" not required, it looks like it's specifically 
disallowed.  But IANALL(*) so apply grains of salt as appropriate.


                -- Buddy


(*) I am not a language lawyer

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to