Re: Re: sloppiness & stupidity
| From: | Nisse Engström | Date: | Thu, 18 Jun 2009 07:26:55 +0000 |
| Subject: | Re: Re: sloppiness & stupidity | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294212@lists.php.net to get a copy of this message | ||
On Wed, 17 Jun 2009 22:51:55 +0100, Ashley Sheridan wrote:
> I read somewhere that the XHTML standards say that for all attributes
> that would normally be standalone in HTML, they should be given a value
> that is the same as the attribute name, so you would use
> multiple="multiple", selected="selected", checked="checked", etc.
> As far
> as I know, using this in regular HTML won't cause it to choke either, as
> the parsers tend to only look at the existence of the attributes, not
> the values they may or may not have.
That's probably true, though.
/Nisse