Re: [PHP] Re: sloppiness & stupidity

[email protected] (Nisse Engström)
Newsgroups php.general
Message-ID <[email protected]>
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
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.