Changes

39 bytes removed ,  13 years ago
Line 8: Line 8:  
   
 
   
 
== Syntax ==
 
== Syntax ==
A typical URL can be of the following manner:
+
A typical URL is set up in the following way:
 
   
 
   
 
<big><code><nowiki>http://www.abcd.org/def/def1234.txt</nowiki></code></big>
 
<big><code><nowiki>http://www.abcd.org/def/def1234.txt</nowiki></code></big>
 
   
 
   
The first part specifies the scheme, which is http, separated from the rest by a colon. The rest of the part of URL follows the colon in a format specific to the scheme. The Internet mainly uses the HTTP (Hypertext Transfer Protocol) scheme to transfer HTML pages on the web. Other such protocols are ftp, gopher, mailto, wais, and so on.
+
The first part of the URL, in this case http, is the specified scheme. The HTTP (Hyptertest Transfer Protocol) scheme is used to transfer HTML pages on the web. Other protocols are ftp, gopher, mailto, and wais, which are all used for their own purpose. The scheme is separated from the rest of the URL by a colon; the rest of URL follows the colon in a format specific to the scheme.  
 
   
 
   
The second part, www.abcd.com specifies the unique computer name. This name is a hierarchy of domains which descend from right to left separated by a dot. The rightmost domain, or as technically called, label is the top level domains which can be gTLDs - .com, .org, .net, etc; or ccTLDs - .us, .fr, .de, etc.
+
The second part of the URL, in this case www.abcd.com, specifies a unique computer name. This name is a hierarchy of domains, descending from right to left and separated by a dot. The rightmost domain, or label, is the [[TLD]].
 
   
 
   
Next is the location of a resource as given in the example a text file, def1234.txt, to be accessed on that computer which is given by a pathname "/def/def1234.txt".  
+
Following the TLD, separated by backslash, is the location or pathname of a resource (in this example, a text file named def1234.txt), to be accessed on the computer.  
 
   
 
   
 
<ref>[http://searchnetworking.techtarget.com/definition/URL searchnetwork.techtarget.com]Definition URL</ref><ref name="ietf">[http://www.ietf.org/rfc/rfc1738.txt ietf.org]RFC 1738</ref><ref name="www">[http://www.w3.org/Addressing/URL/url-spec.txt w3.org]URL specifications</ref>
 
<ref>[http://searchnetworking.techtarget.com/definition/URL searchnetwork.techtarget.com]Definition URL</ref><ref name="ietf">[http://www.ietf.org/rfc/rfc1738.txt ietf.org]RFC 1738</ref><ref name="www">[http://www.w3.org/Addressing/URL/url-spec.txt w3.org]URL specifications</ref>
+
 
   
== History ==
 
== History ==
 
   
 
   
14,326

edits