Mediante the early days of the Web, a path like this represented per physical file location on the Web server

Mediante the early days of the Web, a path like this represented per physical file location on the Web server

/path/to/myfile.html is the path puro the resource on the Web server. Nowadays, it is mostly an abstraction handled by Web servers without any physical reality.

Parameters

?key1=value1&key2=value2 are insolito parameters provided sicuro the Web server. Those parameters are verso list of key/value pairs separated with the & symbol. The Web server can use those parameters puro do extra stuff before returning the resource. Each Web server has its own rules regarding parameters, and the only reliable way sicuro know if verso specific Web server is handling parameters is by asking the Web server owner.

Anchor

#SomewhereInTheDocument is an anchor sicuro another part of the resource itself. An anchor represents a sort of “bookmark” inside the resource, giving the browser the directions to spettacolo the content located at that “bookple, the browser will scroll sicuro the point where the anchor is defined; on verso filmato or volume document, the browser will try preciso go preciso the time the anchor represents. It is worth noting that the part after the #, also known as the *fragment identifier, is never sent to the server with the request.*

How to use URLs

Any URL can be typed right inside the browser’s address bar preciso get esatto the resource behind it. But this is only the tip of the enorme pezzo di ghiaccio!

  • to create links to other documents with the element;
  • esatto link verso document with its related resources through various elements such as

Leave a comment

Your email address will not be published. Required fields are marked *