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

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

/path/to/myfile.html is the path onesto 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 superiore parameters provided sicuro the Web server. Those parameters are per list of key/value pairs separated with the & symbol. The Web server can use those parameters to do straordinario stuff before returning the resource. Each Web server has its own rules regarding parameters, and the only reliable way puro know if verso specific Web server is handling parameters is by asking the Web server owner.

Anchor

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

How onesto use URLs

Any URL can be typed right inside the browser’s address bar esatto get onesto the resource behind it. But this is only the tip of the iceberg!

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

Leave a Comment

Your email address will not be published.