The URL (uniform Resource Locator) address is used to describe a resource on a network, and the basic format is as follows schema://host[:p ort#]/path/.../[;url-params][?query-string][# Anchor
scheme specifies protocols for low-level use (for example: HTTP, HTTPS, FTP)
The IP address or domain name of the host HTTP server
The default port for the port# HTTP server is 80, which can be omitted from the lower number. If you use a different port, you must indicate, for example, http://www.cnblogs.com:8080/
Path to access resources
Url-params
Query-string data sent to HTTP server
anchor-Anchor
An example of a URL Http://www.mywebsite.com/sj/test;id=8079?name=sviergn&x=true#stuff
Schema:http
Host:www.mywebsite.com
Path:/sj/test
URL params:id=8079
Query String:name=sviergn&x=true
Anchor:stuff
HTTP indicates that a network resource is to be located through the HTTP protocol; Host represents a legitimate Internet host domain name or IP address; port specifies a port number, NULL, and the default port 80;abs_path specifies the URI of the requested resource; If Abs_ is not given in the URL Path, then when it is the request URI, it must be given in the form of "/", which is usually done automatically by the working browser.
eg
1. Input: www.guet.edu.cn
Browser automatically converted to: http://www.guet.edu.cn/
2, http:192.168.0.116:8080/index.jsp