You are on | Tutorials / HTML / What is a URL
Chapter 1: HTML & web pages


Internet and world wide web
Tags in HTML
URLs in HTML
Planning and designing a website
Structure of the HTML document
Setting Document background

Chapter 2: Working with Text
Chapter 3: Working with images
Chapter 4: Audio and videos
Chapter 5: Hyperlinks
Chapter 6: Tables
Chapter 7: Forms
Chapter 8: Frames
Chapter 9: CSS
Chapter 10: HTML entities
Chapter 11: HTML colors

 

 

What is a URL


Every resource on the internet has an address. Users use the address of a resource to access it. This address is called the uniform resource locator (URL). Each internet resource is hosted by a server connected to the internet. The server is identified to other computers by its IP address and the port number.

An IP address is commonly represented by four decimal numbers ranging for 0 to 255, separated by dots (192.168.19.12).

A port number is like a broadcast channel for a particular type of service. World Wide Web services have the port number 80; SMTP has the port number 25and POP3 has the port number 110 and so on.

 

The internet address written in numbers is used by computers. It is difficult to remember and use by people. For this reason the system of indentifying servers using domain name was developed.

An internet domain name consists of the name and one or more suffixes (such as .com, .net or .pk etc ).

For example, consider the following URL:

http://webjoogler.com/Database/Database.php

Here in the above URL, Http:// is the service, www.webjoogler.com is the domain name, database/ is the directory, database.php is the file name and /database/database.php is the path.