Html links
When you click on a link in an HTML document like this: LastPage, an underlying tag points to a place (an address) on the Webwith an href attribute value like this: <a href="lastpage.htm">Last Page</a>.
The Last Page link in the example is a link that is relative to the Web sitethat you are browsing, and your browser will construct a full Web address like http://www.monohelp.com/html/lastpage.htmto access the page.
Something called a Uniform Resource Locator (URL) is used to address adocument (or other data) on theWorld Wide Web. A full Web address like this: http://www.monohelp.com/html/lastpage.htmfollows these syntax rules:
scheme://host.domain:port/path/filename
The scheme is defining the type of Internet service. The mostcommon type is http.The domain is defining the Internet domain name like monohelp.com.
The host is defining the domain host. If omitted, the default host forhttp is www.
The :port is defining the port number at the host. The portnumber is normally omitted. The default port number for http is 80.
The path is defining a path (a sub directory) at the server.If the path is omitted, the resource (the document) must be located at the rootdirectory of the Web site.
The filename is defining the name of a document. The default filenamemight be default.asp, or index.html or something else depending on the settingsof the Web serverMore info at http://www.w3schools.com/HTML
Comments
No comments yet. Be first!