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

Re: justification/reasoning of tags in XHTML forced to be lowercase?

From: Cavre <cavre@mindspring.com>
Date: Tue, 15 Aug 2000 02:21:13 -0400
Message-ID: <200008150221130020.006602D1@smtp.mindspring.com>
To: www-html@w3.org
Most markup editors these days allow developers to colorized their 
markup.  Some even allow you to capitalize the mark up for easier
debugging and design.  

Look around I am sure you will find a editor that will meet your
needs.  

***********msew ***********

On 8/14/00 at 9:48 AM msew wrote:

I have always found it much easier to parse and read HTML when the tags are 
capitalized.

ie

<HTML
   <HEAD
     <TITLE>
        title
     </TITLE>
   </HEAD>
   <BODY>
      this is the body
   </BODY>
</HTML>

vs

<html>
   <head>
     <title>
        title
     </title>
   </head>
   <body>
      this is the body
   </body>
</html>



in the first snippet it seems to me that the tags and that the text stand 
out as different sets of things.  In the second snippet you have to work 
much harder to make the distinction between the tags and the content.


I understand that xml is case sensitive (rather annoying from a language 
perspective, but that is another battle to fight), but I am wondering why 
the XHTML standard is forcing people to use lowercase for their hypertext 
markup tags.  Why not force them to use uppercase?

What is the justification or reasoning for lowercase tags?



thanks


msew
Received on Tuesday, 15 August 2000 02:23:17 GMT

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