logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Houseplants
Romance Movies
Creativity
Family Travel
Southwest USA
Irish Culture
Home Finance


dailyclick
All times in EST

Clairvoyance: 08:00 PM

Full Schedule
g
g HTML Site

BellaOnline's HTML Editor

g

URL, the Uniform Resource Locator

Guest Author - Elizabeth Connick

The URL, or Uniform Resource Locator, is the address for a particular file on the World Wide Web. Each URL has components that let your computer find the file that you're looking for, whether that file is located right around the corner or on a server in Timbuktu. Let's start by looking at the components of a sample URL:

http://www.bellaonline.com/articles/art23821.asp

Working our way from left to right, the first part of the url is:

http://

This portion tells your computer what protocol to use when connecting with the site. Most websites, including this one, use HyperText Transfer Protocol, or http for short. Having the correct protocol listed ensures that your computer and the server hosting the website are literally speaking the same language.

Other protocols you might see listed in a URL include https (an encrypted version of http that is used for secure sites, such as ecommerce sites), ftp, and telnet. If you enter a URL and don't include a protocol, the computer will use http by default.

The next part of the URL defines the file host:

www.bellaonline.com

The www portion indicates that this site is located on the World Wide Web. This is the most common prefix to a host name and if you don't enter a host prefix, the computer will use www by default. If the prefix is anything other than www, it usually indicates a subdomain essentially a domain within a domain. Webmasters often set up subdomains when they want to separate a portion of their site and make it distinct from the rest. For example, you could also reach this article through the html subdomain of bellaonline:

http://html.bellaonline.com/articles/art23821.asp

The middle portion of the host, the domain name (in this case, bellaonline) tells your computer who is hosting the file you're looking for. In order for a file to be available on the World Wide Web, someone has to put it on a computer, generally a specialized type of computer called a server, and hook the computer to an internet connection. Your computer can look up the domain name and use it to locate the server that is hosting the desired file.

The last portion of the host name (.com in our example) is the root domain. The root domain tells you what type of organization is hosting the site. Commercial websites will use .com or .net, or occasionally .biz; schools will use .edu; non-profit websites are typically found at .org; and governmental websites use .gov.

Every part we've looked at so far tells your computer how to find the server that's hosting the file you want to look at. Now that you've located the correct server, the rest of the URL (everything to the right of the root domain) tells you where exactly the file is within the server.

If you have a filing cabinet in your office, you probably use it to store your files inside file folders. A computer stores its virtual files in much the same way, using folders to keep its files organized and make it easy to quickly locate a particular file. Going back to our example, this file is located within the 'articles' folder on the www.bellaonline.com server. You can tell which parts of the URL are folders because they're always separated from the rest of the URL by a single slash (/).

The final part of the URL (art23821.asp) is the actual file name. The left part of the name is assigned by the file's creator, and the right part (.asp) is the file extension. This tells your computer what type of program to use to open the file. For example, if your file had a .doc extension your computer would open Microsoft Word to view it, while a .html file is typically viewed in a browser such as Internet Explorer. In this case, .asp informs your computer that this file is a webpage that contains code from the programming language ASP.
This site needs an editor - click to learn more!

Add URL%2C+the+Uniform+Resource+Locator to Twitter Add URL%2C+the+Uniform+Resource+Locator to Facebook Add URL%2C+the+Uniform+Resource+Locator to MySpace Add URL%2C+the+Uniform+Resource+Locator to Del.icio.us Digg URL%2C+the+Uniform+Resource+Locator Add URL%2C+the+Uniform+Resource+Locator to Yahoo My Web Add URL%2C+the+Uniform+Resource+Locator to Google Bookmarks Add URL%2C+the+Uniform+Resource+Locator to Stumbleupon Add URL%2C+the+Uniform+Resource+Locator to Reddit




RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Elizabeth Connick. All rights reserved.
This content was written by Elizabeth Connick. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
What's Coming in HTML 5

What is FTP?

HTML Fundamentals - Tables

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor