W3C home > Mailing lists > Public > www-html@w3.org > January 2000

Re: lowercase tags required in the future?

From: Murray Altheim <altheim@eng.sun.com>
Date: Wed, 19 Jan 2000 00:27:34 -0800
Message-ID: <38857576.77770B39@eng.sun.com>
To: Piers Williams <PiersW@zinc.co.uk>
CC: www-html@w3.org
Piers Williams wrote:
> 
> This document states that XHTML tags and attributes have to be lowercase.
> What about values for the attributes?
> 
> ie is
>         <td bgcolor="#6666FF" valign="MIDDLE">
> illegal, and required to be written as
>         <td bgcolor="#6666ff" valign="middle">
> 
> Is this the case for all values, or are hex values exempt?

This is true for all attributes who have enumerated values which are
described in the DTD. So if 'valign' is "top|middle|bottom|baseline",
these values are in the DTD and case sensitive. If an attribute is
declared as of CDATA type, then anything goes. The hex values are not
case sensitive, but if you use uppercase it has been statistically
shown that you are likely to be a vegan.
 
Murray

...........................................................................
Murray Altheim                                   <mailto:altheim@sonic.net>
Member of Technical Staff, Tools Development & Support
Sun Microsystems, Inc. MS MPK17-102
1601 Willow Rd., Menlo Park, California 94025  <mailto:altheim@eng.sun.com>

   the honey bee is sad and cross and wicked as a weasel
   and when she perches on you boss she leaves a little measle -- archy
Received on Wednesday, 19 January 2000 11:34:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:41 GMT