Re: lowercase tags required in the future?

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 UTC