Solved

Why use all lowercase when making URL pages

Posted on 2008-06-12
2
171 Views
Last Modified: 2010-04-09
I am creating a website for a small business and was wondering if I have to use lowercase for HTML. If so, why?
0
Comment
Question by:mc2044
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 50 total points
Comment Utility
You don't have to, but it's best practice to, because consistency is good and it's one of the things that you can do to make a future conversion to XHTML much easier.
0
 
LVL 16

Expert Comment

by:rbudj
Comment Utility
A little confusing with your question.  In your question you ask about URL.  In your second question you ask about HTML.

You do not need to use upper or lower case.  It is your choice.  But consistency is certainly good.  XHTML is standard to use lowercase but using upper case will not effect your page.  Actually, it can help you distinguish between code elements.

In a URL, just know that URL's ARE case sensitive; at least everything except for the domain name.  So if someone wants to just go to one of your pages off memory that is...  www.mypage.com/ClothingandShoes.html and they just type www.mypage.com/clothingandshoes.html, they will get an error.

So, to make things easy, it is simply suggested to use lowercase, not required.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now