Re: CAPS?

by Ryan Fischer <fischer(at)email.unc.edu>

 Date:  Sun, 09 Aug 1998 14:25:08 -0400
 To:  "Ben Z. Tels" <optimusb(at)stack.nl>,
"Beverly K" <bev_k(at)hotmail.com>,
<hwg-theory(at)hwg.org>
 In-Reply-To:  bzt
  todo: View Thread, Original
Beverly wrote:
>>is it considered better form to use lower case or upper case when
>>writing a tag?
>>Example:
>>          <BODY></BODY>
>>          <body></body>

At 01:00 PM 8/9/98 +0200, Ben Z. Tels wrote:
>Doesn't really matter. The W3C uses capitals for element names in their
>specifications for clarity and so do I, but until we all switch to XML
>instead of HTML it really makes no difference.

There are a couple things to consider when thinking about which way is
"best".  It used to be that whatever way was easiest for you was the way
that's "OK".  Remember: HTML is not case-sensitive.  Entities and some
attribute values are.  This all will change when XML is supported.  In XML,
element names *must* be capitalized, their attributes *must* be written in
lowercase, and *all* values for those attributes *must* be quotes, like so:

	<PARAM name="foo" />

Just a little food for thought.  Personally, like Jim and Ben, I write my
HTML in all CAPS for readability.  HTH!  ;-)

-- 
 -Ryan Fischer <fischer(at)email.unc.edu> ICQ UIN - 595003
  "Thoughts that run too deep for tears..."

HWG hwg-theory mailing list archives, maintained by Webmasters @ IWA