English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
URL: Abreviatura de Localizador de Recursos Uniforme (Uniform Resource Locators), el navegador web solicita una página desde el servidor web a través de la 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.
Una URL es una dirección de página web.
Una URL puede consistir en letras, como "es.oldtoolbag.com" o la dirección de protocolo de internet (IP): 192.168.1.10.La mayoría de las personas acceden a sitios web utilizando el nombre de dominio del sitio web, porque Los nombres son más fáciles de recordar que los números.
El navegador web solicita una página desde el servidor web a través de la URL.
Cuando hace clic en un enlace en una página HTML, el etiqueta <a> apunta a una dirección en la Web.
Un Localizador de Recursos Uniforme (URL) utilizado para ubicar documentos en la Web.
Un ejemplo de dirección de página web:https://es.oldtoolbag.com/html/html-tutorial.htmlGrammar rules:
scheme://host.domain:port/path/filename
Note:
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 with http: at the beginning. It is 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, which represents the introduction of a file, the purpose of which is to load the file into the html page. When the browser parses, it will pause other content and load the src content first, and it must wait until the src content is loaded before executing the subsequent content. (Commonly used: img, script, iframe)
href is the abbreviation of Hypertext Reference, which represents a hyperlink, pointing to the location of the network resource, establishing a link between the current element (anchor) or the current document (link), and the relationship with the page is that of a link, and when it is loaded, the page itself will not stop the loading of other content. 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 |
Para obtener una referencia completa de la codificación URL, visite nuestra Manual de referencia de codificación URL.