". The web browser requests the page from the web server through the URL. When a link in the HTMl page is clicked, the corresponding a A tag points to an address on the World Wide Web."/> ". The web browser requests the page from the web server through the URL. When a link in the HTMl page is clicked, the corresponding a A tag points to an address on the World Wide Web.">

Home  >  Article  >  Web Front-end  >  What does url in html mean? how to use?

What does url in html mean? how to use?

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-06-04 16:02:3216599browse

In HTML, url means "link", and the syntax format is "". The web browser requests the page from the web server through the URL, click on the HTMl page When a link is created, the corresponding a tag points to an address on the World Wide Web.

What does url in html mean? how to use?

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

url is a general professional pronoun for "link" and is almost never used in HTML syntax.

url is not an attribute, src and href are attributes, src is used to replace the current element, href is used to establish a connection between the current document and the referenced resource, that is to say, the path referenced by src is the img's own path. The path referenced by href is the place to jump to.

URL is a web address.

The URL can consist of letters, such as "cmcc", or an Internet Protocol (IP) address: 192.68.20.50. Most people use the domain name to access a website because names are easier to remember than numbers.

The web browser requests the page from the web server through the URL.

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

A Uniform Resource Locator (URL) used to locate documents on the World Wide Web.

Description:

  • 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, e.g. runoob.com

  • :port - defines the port number on the host (the default port number for http is 80)

  • path - defines the port number on the server The path to (if omitted, the document must be located in the root directory of the website).

  • filename - defines the name of the document/resource

Common URL Scheme

What does url in html mean? how to use?

Recommended learning: html video tutorial

The above is the detailed content of What does url in html mean? how to use?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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