What is URL?

URL means uniform resource locator every resource have its own unique address in the URL format.

http://www.bhabani.com:8080/index.html
Here HTTP is the protocol tells the server which communication protocol will be used.

www.bhabani.com- it is the server name. this name maps to a unique IP address. You can also specify an ip address instead of server name.

8080- this is the communication port. This part of URL is optional. A single server application is identified by a port. If you do not specify the port number then port 80 is the default.

Index.html – it is known as resource.i.e. the name of the content being requested. This could be an html page, a servlet, an image,pdf,music, video etc.

No comments:

Post a Comment