Re: where did they find this: "(W3C) recommends lowercaseattributes/attribute values in their HTML 4 recommendation"
In message <firstname.lastname@example.org>
Mike S <email@example.com> wrote:
> I have seen this in several places online, and while I use all lower
> case for readability, I can't find this anywhere in the HTML4 spec, am I
> missing something? w3schools is a pretty decent site with a lot of good
> information, so I'm wondering where they found this, I would be
> surprised if they just made it up, but I guess it is possible:
w3schools is a cesspit of missinfomation, I think you meant to say.
> Attribute names and attribute values are case-insensitive.
This is true.
> However, the World Wide Web Consortium (W3C) recommends lowercase
> attributes/attribute values in their HTML 4 recommendation.
This is not.
> Newer versions of (X)HTML will demand lowercase attributes.
This is true, and a lot of people standardized on lowercase when XHTML
looked like it might be useful, but then Microsoft/IE decided to render
it useless and it never came to much. XHMTL *required* lowercase.
However, I will 'fix' the case on any HTML document I happen to come
If we get through this alive I'll meet you next week same place same
Re: where did they find this: "(W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation"
>> Attribute names and attribute values are case-insensitive.
> This is true.
No, attribute values are case-sensitive or case-insensitive depending on the
attribute. While align="CeNtER" is formally OK, title="Foo" has a meaning
different from title="foo", and <ol type="A"> generates numbering different
from <ol type="a">.
>> Newer versions of (X)HTML will demand lowercase attributes.
> This is true, and a lot of people standardized on lowercase when XHTML
> looked like it might be useful, but then Microsoft/IE decided to
> render it useless and it never came to much. XHMTL *required*
So XHTML isn't much of the future, is it? Except maybe as transfer format
when XML compatibility is useful
The foreseeable future of HTML is HTML5, and it plays by old rules here,
|All times are GMT. The time now is 10:24 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.