What is HTML URL

(*-*)浩
Release: 2019-08-30 15:15:39
Original
5726 people have browsed it

URL is also known as web address.

What is HTML URL

The URL can consist of words, such as "w3school.com.cn", or an Internet Protocol (IP) address: 192.168. 1.253. Most people type the domain name of a website when they surf the web because names are easier to remember than numbers.

URL - Uniform Resource Locator(Recommended learning: HTML Getting Started Tutorial)

When you click on a link in the HTML page, the corresponding The tag points to an address on the World Wide Web.

Uniform Resource Locators (URLs) are used to locate documents (or other data) on the World Wide Web.

Web addresses, such as http://www.w3school.com.cn/html/index.asp, comply with the following grammatical rules:

scheme://host.domain:port/path/filename
Copy after login

Explanation:

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 w3school.com.cn

: 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 located in the root directory of the website).

filename - defines the name of the document/resource

Note: The full English name of URL is Uniform Resource Locator, which is also translated as "Uniform Resource Locator" in Chinese. .

The above is the detailed content of What is HTML URL. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template