URL Types and Component
Q-3 what is URL? Describe its
types and component.
Ans.
A uniform resource locator is
naming address of document over the internet and intranet. For E.g. http://www.selfadhyan.in
Here is HTTP
is protocol, www
is search the website at world wide web level, Selfadhyan is main domain for particular
organization and .in represent as India website.
Component of URL
1.
A scheme. The scheme
identifies the protocol to be used to access the resource on the Internet. It
can be HTTP (without SSL) or HTTPS (with SSL).
2. A
host. The host name identifies the host that holds the resource. For
example, www.example.com. A server provides services in the name of the
host, but hosts and servers do not have a one-to-one mapping. Refer to Host names.
Host names can also be
followed by a port number. Refer to Port numbers.
Well-known port numbers for a service are normally omitted from the URL. Most
servers use the well-known port numbers for HTTP and HTTPS , so most HTTP URLs
omit the port number.
3.
A path. The path identifies
the specific resource in the host that the web client wants to access. For
example, /software/htp/cics/index.html.
4.
A query string. If a query
string is used, it follows the path component, and provides a string of
information that the resource can use for some purpose (for example, as
parameters for a search or as data to be processed). The query string is
usually a string of name and value pairs; for example, term=great People.
Name and value pairs are separated from each other by an ampersand (&); for
example, term=great People & source=browser-search.
No Comment to " URL Types and Component "