Current location - Quotes Website - Collection of slogans - Website (website1921681001)
Website (website1921681001)
What is a URL? What's its format?

1, the definition of URL

Uniform resource locator, URL for short. Also known as web address, it is the address of standard resources on the Internet. It was originally used as the address of the World Wide Web by Tim Berners-Li Faming, and now it has been compiled into the Internet standard RFC 1738 by the World Wide Web Consortium.

2. the format of 2.URL

A URL describes the address of a resource on the World Wide Web in the abstract form of a string. A URL uniquely identifies a Web resource, which can be obtained through the corresponding URL. UR format is generally as follows:

Protocol Type://Server Address [:Port Number]/Path/File Name [Parameter = Value]

The [] part of the above structure is optional. If the port number is different from the default value of the relevant protocol, it needs to be included. Protocol types include HTTP, MAILTO, FILE, FTP, etc. The URL for accessing resources on the World Wide Web using HTTP protocol is as follows:

Among them, website.com server and search.php are a script file on the server side, followed by the parameter $ term required for script execution, and Apple inputs the parameter values corresponding to $ term for users.

Extended data

Characteristics of URL

1, URL is portable: because URL should name all resources on the Internet uniformly, and different protocols will use different mechanisms when transmitting data, it is very important that URL can be transmitted safely through any Internet protocol.

2. The URL is readable: Therefore, even though invisible and unprintable characters can cross the mail program and become portable, they cannot be used in the URL.

3. The URL is complete: Sometimes people want the URL to contain binary data or characters instead of the universal security alphabet. So we need a transmission mechanism, which can encode unsafe characters into safe characters and then transmit them.

References:

Baidu Encyclopedia-Website

What does url mean?

Url is a unified resource locator, which is a concise representation of the location and access methods of available resources on the Internet, and also the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and how the browser should handle it.

A URL describes the address of a resource on the World Wide Web in the abstract form of a string. A URL uniquely identifies a Web resource, which can be obtained through the corresponding URL.

Extended data:

URL is portable: Because URL should name all resources on the Internet uniformly, different protocols will use different mechanisms when transmitting data, so it is very important that URL can be transmitted safely through any Internet protocol.

Urls are readable: therefore, even though invisible and unprintable characters can cross mail programs and become portable, they cannot be used in URLs.

The URL is complete: sometimes people want the URL to contain binary data or characters instead of the universal security alphabet. So we need a transmission mechanism, which can encode unsafe characters into safe characters and then transmit them.

Baidu Encyclopedia-Website

What does URL mean?

URL is a uniform resource locator, which is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and how the browser should handle it.

The basic URL includes: mode, server name, path and file name, and the protocol part is separated by "//",such as "protocol://authorization/path? Query ". Its general syntax format is: protocol://host name [:port]/path/[; Parameter] [? Query] # Fragments

Extended data

URL combination structure:

The first part: mode/protocol, which tells the browser how to handle the file to be opened. The most commonly used mode is Hypertext Transfer Protocol, which can be used to access the network. When we enter a URL in the address bar, the protocol part is unnecessary, and the browser will automatically supplement the default HTTP protocol.

There are other agreements, such as "business organizations" and "business organizations". Org "is a non-profit organization. ".gov" refers to government agencies. ".edu" stands for educational and scientific research institutions. Sometimes, some subsidiaries of the head office or other product websites of the company will use second-level domain names similar to this domain name.

Sometimes, a URL ends with a slash "/"and no file name is given. In this case, the URL refers to the default file in the last directory in the path, usually called index.html or default.htm.

URL classification:

URL can be divided into absolute and relative, in which the absolute URL shows the complete path of the file, that is to say, the location of the absolute URL itself has nothing to do with the location of the actually referenced file; Relative URL describes the location of the target folder with the location of the folder containing the URL itself as a reference point.

If the target file is in the same directory as the current page, the relative URL of the file is only the file name and extension. If the target file is located in a subdirectory of the current directory, its relative URL is the subdirectory name, followed by a slash, and then the file name and extension of the target file.

If you want to refer to a file in a higher directory in the file hierarchy, use two periods and a slash. You can combine and reuse two periods and a slash to refer to any file on the hard disk where the current file is located. Generally speaking, relative URLs should always be used for files on the same server, which is easier to input and more convenient to transfer pages from the local system to the server. As long as the relative position of each file remains the same, the link is still valid.

References:

Website-Baidu Encyclopedia

What does url mean?

Url refers to URL encoding.

Url encoding is a format used by browsers to package form input. The browser gets all the names and their values from the form and sends them together with the name/value parameter code as part of the URL or separately to the server.

Related information:

Usually, Url encoding is not used, because IE will automatically convert the non-numeric letters entered in the address bar into URL encoding.

It is suggested that the database name should be added with "#" to prevent downloading, because IE will ignore letters when it encounters #. The cracking method is simple-replace the # sign with url encoding %23. SQL injection is very popular now, so some people have written some anti-injection scripts.

What is a URL?

What is a URL?

1, URL is the abbreviation of UniformResourceLocation, which is translated as "Uniform Resource Locator";

2.URL is a string used to describe information resources on the Internet, which is mainly used in various WWW client programs and server programs, especially the famous Mosaic. Using URL can describe all kinds of information resources in a unified format, including files, server addresses and directories.

3. Uniform Resource Locator is a concise representation of the location and access method of available resources on the Internet, and it is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and how the browser should handle it.

Tim Berners Li Faming originally used it as the address of the World Wide Web. Now it has been compiled by the World Wide Web Consortium as the Internet standard RFC1738;

5. Basic URL includes mode, server name, path and file name;

6. Generally speaking, a URL is a web address or resource address under the framework of the World Wide Web.