Re: [PHP] Re: sloppiness & stupidity

[email protected] (PJ)
Newsgroups php.general
Message-ID <[email protected]>
Nisse Engström wrote:
> 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>.
>   
From my limited experience, and vast reading of those glorious 20,000
entries on the Internet, multiple does not take a parameter. I had my
fingers slapped once when I validated or something - multiple is just
plain multiple ! :-P ;-) :-)

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-------------------------------------------------------------
Phil Jourdan --- [email protected]
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.