2 ms·
This behavior doesn't depend on TLDs. A href will be to the local origin unless it starts with a protocol ("https://example.com https://example.com") or two sla
by AgentME 3y ago
This behavior doesn't depend on TLDs. A href will be to the local origin unless it starts with a protocol ("https://example.com https://example.com") or two slashes (protocol-relative link, like "//example.com"). (The rest of the rules are that if an href starts with a single slash, then it will be a domain-relative link, otherwise it will be relative to the current URL's path.)