English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
URL : abréviation de Uniform Resource Locators (Uniform Resource Locators), un navigateur Web demande une page au serveur Web via l'URL. url is not an attribute, src and href are attributes, src is used to replace the current element, and href is used to establish a connection between the current document and the referenced resource, that is, the path referenced by src is the path to be loaded by img, etc., and the path referenced by href is the place to jump to.
Une URL est une adresse de page Web.
Une URL peut être composée de lettres, comme "fr.oldtoolbag.com" ou adresse IP (IP) : 192.168.1.10.La plupart des gens accèdent aux sites Web en utilisant le nom de domaine du site Web, car Les noms sont plus faciles à retenir que les nombres.
Un navigateur Web demande une page au serveur Web via l'URL.
Lorsque vous cliquez sur un lien dans une page HTML, l'étiquette <a> pointe vers une adresse sur le World Wide Web.
Un Uniform Resource Locator (URL) utilisé pour localiser des documents sur le World Wide Web.
Exemple d'adresse de page Web:https://fr.oldtoolbag.com/html/html-tutorial.htmlGrammar rules:
scheme://host.domain:port/path/filename
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, such as oldtoolbag.com
: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 document/the name of the resource
The following are some URL schemes:
Scheme | access | for... |
http | Hypertext Transfer Protocol | with http:// the ordinary web page at the beginning. Not encrypted. |
https | Secure Hypertext Transfer Protocol | secure web page, encrypting all information exchange. |
ftp | File Transfer Protocol | to download or upload files to a website. |
file | the files on your computer. |
URL can only use ASCII character set.
to send through the internet. Since URLs often contain characters outside the ASCII set, URLs must be converted to a valid ASCII format.
URL encoding uses "%" followed by two hexadecimal numbers to replace non-ASCII characters.
URL cannot contain spaces. URL encoding usually uses + to replace spaces.
url is not an attribute, src and href are attributes, src is used to replace the current element, and href is used to establish a connection between the current document and the referenced resource, that is, the path referenced by src is the path to be loaded by img, etc., and the path referenced by href is the place to jump to.
src is the abbreviation of source, indicating the introduction of a file, the purpose of which is to load the file into the html page. When the browser parses it, it will pause other content and load the src content first, and it must wait until the src content is loaded before executing the following content. (Commonly used: img, script, iframe)
href is the abbreviation of Hypertext Reference, indicating hyper text reference, pointing to the location of the network resource, establishing a link between the current element (anchor) and the current document (link), its direct relationship with the page is the link relationship, and the page itself will not stop loading other content when loading it. It is used to establish a link between the current element and the document. (Commonly used: link, a)
character | URL encoding |
€ | %80 |
£ | %A3 |
© | %A9 |
® | %AE |
À | %C0 |
Á | %C1 |
 | %C2 |
à | %C3 |
Ä | %C4 |
Å | %C5 |
Pour une référence complète de l'encodage URL, veuillez visiter notre Manuel de référence d'encodage URL。