RE: Re: sloppiness & stupidity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 June 2009 22:05, Nisse Engström advised:

> 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>.

Well, on checking I'm surprised to find that you are right and I am wrong, and I will have to mend my ways. I don't know how I came to believe that the attribute value didn't matter, but there you go.  An excellent example of what I referred to before as confidence in one's own misunderstanding!

Cheers!

Mike

 --
Mike Ford,  Electronic Information Developer,
C507, Leeds Metropolitan University, Civic Quarter Campus, 
Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 812 4730


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux