Solved

Why use all lowercase when making URL pages

Posted on 2008-06-12
2
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 50 total points
ID: 21774627
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
ID: 21774650
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

636 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