Link to home
Start Free TrialLog in
Avatar of 2djohn
2djohnFlag for United States of America

asked on

Capitalize HTML tags?

Can anyone give me a definitive answer: should HTML tags be uppercase or lowercase?  Just wondering really.  It seems the W3C site uses lower case for both tags and attributes so I am guessing that is how it should be...

In other words should I write:

<TABLE cellpadding="0" cellspacing="0" border="0">
or
<table cellpadding="0" cellspacing="0" border="0">

If someone could could point me to the actual guideline I would appreciate it.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of StormyWaters
StormyWaters
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There are example of case sensitivity eg

http://www.cs.tut.fi/~jkorpela/HTML3.2/3.6.html
Avatar of 2djohn

ASKER

Thanks Gwynn- but I am looking for something a little more like Stormy's answer.  I realize HTML is not case sensitive.  But thanks for the input.
Avatar of DreamMaster
DreamMaster

Recommended is not to use uppercase characters as Stormy already said, that said...if you do use uppercase, use them concequently to use proper XML syntax.

Regards,
Max.
Avatar of 2djohn

ASKER

Thanks everyone.  That is what I was hoping for since I have been using lower case for years!