What really happens,
- Enter a website link in the browser,
- Browser knows it's a website and adds
https://in front of it.
https:// is one of the many URI Schemes
URI = Universal Resource Identifier
URL = Uniform Resource Locator
URN (not that urn 🌝) = Uniform Resource Name
URN and URL are subsets of URI. URN is just a name or a reference, there may not be a way to locate that thingy. URL knows exactly where the resource is located and returns that thingy.
URL Example (paste on your browser):
- Hello, World!
- Open facetime in computer, call number in mobile device
- Open a website, meh
- Open a file in your local machine
- Open email
- Open terminal to log into remote computer
- and more over here
- The URN for "Spider-Man (film)", identified by its audiovisual number
This concludes part 1 of "What happens when you enter URL in a browser".
P/S: Current browsers are already using Internationalized Resource Identifiers (IRI), a new protocol which is an extension of URI, which allows unicode character encoding. E.g. https://en.wiktionary.org/wiki/厉害 (Thanks @jxerome for pointing that out)
Talk to me at Twitter
🤦: Thanks for pointing out the mistakes in the post! @joeflateau , @dangtu_work
Top comments (2)
I am absolutely sure that it is a typo. 🤦