HTML
Uniform Resource Locators
URL - Uniform Resource Locator
A web browser requests a page from a web server through a URL.
When you click a link in an HTML page, the corresponding <a> tag points to an address on the World Wide Web.
A Uniform Resource Locator (URL) is used to locate documents on the World Wide Web.
An example of a web page address: http://www.google.com/html/html-tutorial.htmlSyntax rules:
scheme://host.domain:port/path/filename
illustrate:
-
- scheme - defines the type of Internet service. The most common type is http
- host - defines the domain host (the default host for http is www)
- domain - defines the Internet domain name, such as google.com
- :port - defines the port number on the host (default port number for http is 80)
- path - defines the path on the server (if omitted, the document must be in the root directory of the website).
- filename - defines the name of the document/resource