469,964 Members | 1,809 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

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

1,654 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
2 5244
490 Expert 256MB
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...


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
7,435 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 | last post: by
10 posts views Thread by Safalra | last post: by
6 posts views Thread by phil-news-nospam | 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.