What do you call the entire first part of a URL?
It is called the origin. More generally speaking, here are the different parts of a URL, as per Location. (So at least according to how Javascript calls it) protocol://username:password@hostname:port/pathname?search#hash —————————–href—————————— —–host—- ———– origin ————- protocol – protocol scheme of the URL, including the final ‘:’ hostname – domain name port – port number pathname – … Read more