467,077 Members | 934 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

HTML code in CAPITALS or small letters.. any difference?

hsriat
Expert 1GB
This question might sound stupid,
but I just want to know if it effects the performance of the browser if the whole HTML code is in CAPITAL letters or small letters?
Feb 11 '08 #1
  • viewed: 5151
Share:
2 Replies
harshmaul
Expert 256MB
Hi,
There is no difference. apart from capital letter won't validate at w3c. You should try to make your code validate via the w3c validation service...

http://validator.w3.org/

There are some simple rules that will make your code validate. if you look through thier site you can learn more.

But in short to your answer. It will not affect performance, your code just won't be valid.
Feb 11 '08 #2
drhowarddrfine
Expert 4TB
Capitalized letters validate just fine because case does not matter in HTML. XHTML is a different story because it is XML designed to support HTML; that will not validate and case does matter. However, most people serve XHTML as HTML and won't notice the difference.

It is recommended you use lower-case in all your markup.
Feb 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Dan Jacobson | last post: by
32 posts views Thread by Cornel Bicutzi | last post: by
3 posts views Thread by matt@1320am.com | last post: by
10 posts views Thread by Safalra | last post: by
6 posts views Thread by phil-news-nospam@ipal.net | last post: by
27 posts views Thread by Tom Cole | last post: by
5 posts views Thread by Tristan Miller | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.