Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: where did they find this: "(W3C) recommends lowercaseattributes/attribute values in their HTML 4 recommendation"

Reply
Thread Tools

Re: where did they find this: "(W3C) recommends lowercaseattributes/attribute values in their HTML 4 recommendation"

 
 
Lewis
Guest
Posts: n/a
 
      11-09-2010
In message <iasnji$60e$>
Mike S <> 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.

> http://www.w3schools.com/html/html_attributes.asp


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



--
If we get through this alive I'll meet you next week same place same
time
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      11-09-2010
Lewis wrote:

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


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,

--
Yucca, http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: where did they find this: "(W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation" Eric Bednarz HTML 3 11-05-2010 01:19 AM
Printer recommends? Crash Gordon Digital Photography 6 02-13-2006 05:22 PM
Homeland Security Agency recommends abandoning IE dotnetforfood ASP .Net 3 07-04-2004 07:03 PM
Holey Moley! Micro$oft Recommends Linux? --= Ö§âmâ ßíñ Këñ0ßí =-- Computer Security 19 01-12-2004 07:54 PM
they turn, they power, they make nice pics Keith and Jenn Z. Digital Photography 0 09-21-2003 04:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57