Re: Re: sloppiness & stupidity
| From: | Nisse Engström | Date: | Wed, 17 Jun 2009 21:05:24 +0000 |
| Subject: | Re: Re: sloppiness & stupidity | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294178@lists.php.net to get a copy of this message | ||
On Wed, 17 Jun 2009 10:18:09 +0100, "Ford, Mike" wrote:
> This is very true -- but XHTML requires *all* attributes to have a
> value, so an XHTML conformant page will use <select multiple="multiple"
> name="selector"> (or something similar such as <select multiple="yes"
> name="selector">). The only inconsistency here is that different people
> have chosen to validate against different standards.
The multiple attribute only has one value: "multiple", so
it has to be <select multiple="multiple">. I don't think
"yes" cuts the mustard. In HTML, you can shorten it to
<select multiple>.
/Nisse