A URL is the address of a file(resource) accessible on the internet. The type of resource depends on the internet application protocol. URLs represent the standardized addressing scheme for internet resources, and help the user to locate the resource by indicating exactly where they are. Every resource available in the web has a unique URL.
URL consists of letters, number and punctuation. The URL defines the four things: method, host computer, port and path.
- Method is the protocol used to retrieve the document. E.g. http.
- The host is the computer where the information is located.
- Port is optional and contains the port number of server. It is inserted between host and path and separated from host by colon(:).
- Path is the pathname of the file where the information is located.
Examples of URLs are :
http://www.yahoo.com
ftp://ftp.xyz.com
No comments:
Post a Comment
If you have any doubt, let me know...