The URL is a Web page address.
URLs can consist of letters, such as "w3cschools.cc", or Internet Protocol (IP) addresses: 192.68.20.50. Most people go to websites using the site domain name to access, because names are easier to remember than numbers.
The Web browser requests a page from the Web server via 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.
A Web page address instance: http://www.w3cschool.cc/html/html-tutorial.html Syntax rules:scheme://Host.domain:Port /path/filename
Description :
Scheme-Defines the type of Internet service. The most common type is the HTTP
Host-Defines the domain host (the default host for HTTP is www)
Domain-defines the Internet domain name, such as w3cschool.cc:
Port-Defines the port number on the host (the 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 Web site).
FileName-Defines the name of the document/resource
Common URL schemes;
Scheme |
Access |
used for ... |
http |
Hypertext Transfer Protocol |
A normal web page that starts with http://. Not encrypted. |
Https |
Secure Hypertext Transfer Protocol |
Secure Web page. Decrypt all information exchanges. |
Ftp |
File Transfer Protocol |
Used to download or upload files to a Web site. |
File |
|
The files on your computer.
|
HTML Uniform Resource Locator (Uniform Resource locators) URL