Solved

Why use all lowercase when making URL pages

Posted on 2008-06-12
2
203 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Asp in server side with Mssql Server 7 4 33
HTML Anchor Link Problem 3 50
AJAX Wordpress Not Reading Variable 2 55
output of netstat -r in Powersshell HTML 3 45
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

679 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