eli5: How does every browser understand the same link?


How can I open a link in chrome and take the same link and it works with safari or opera or any other browser?

In: 0

Because the format of a link is standardised.

Protocol i.e. http, followed by domains separated by .’s, finished with a slash ‘/’.

It is in the best interest of all the browser developers to make sure their browser is compatible with all the websites even if they are not designed for their specific browser. If a new user were to try a browser and their links does not work they would quickly switch back to their old browser. For agreeing on what should be standard there are a number of standards organizations, for web most of the activity is at the World Wide Web Consortium. This is an organization where all the browser developers, large websites, hosting companies, universities, governments, Internet providers, interest groups, etc. can get together and discuss how new features should be implemented and how to improve existing features in a way that it works seamlessly for all users on all websites using all browsers.

There’s an organization called the World Wide Web Consortium (W3C).
It’s a not-for-profit organization that maintains the HTML standard.
HTML is basically the Language that makes a website and W3C made it and continues to maintains it.
All the websites use it, mainly because they all agreed to. It’s convenient to have one group set the standard and everyone else follows it.
And the browsers are also written to understand it.

But you don’t have to, and many apps use the internet without using HTML. It’s just the browsers and websites use it.

In addition to what others say, an internet browser does not directly send you to a website. It first sends your request to what is called a DNS (Domain Name System) server. The DNS is basically a giant list that pairs “normal” website names (ex. “google.com” or “en.wikipedia.org”) with the IP addresses of the computers that hold those websites.

The DNS server receives the link, then returns the IP address, which your computer then connects to. DNS servers are not owned by browser manufacturers, so every browser has to adjust to their way of doing things if they want to function properly as browsers.

There are actually links that most browsers won’t open and the browsers that do open them won’t open most other links. Onion links work only in Tor browsers and Tor browsers only work with onion links.