As specified earlier, href doesn't have to contain an absolute url; Both examples above are using an absolute url (a full web address) in the href attribute. The url() constructor or the url.parse() static method of the url api can be used to resolve a relative reference and a base url to an absolute url.
CSS Why some professional web designers use absolute paths instead of
You need to put file:// in.
This also applies to urls.
An absolute file path is the full url to a file: The href attribute is used to specify the base url corresponding to a element. It is independent of the location of the current document. When i click a folder link in a html file in microsoft edge, it doesn't open.
A relative file path points to a file relative to the current page. The folder link opens on all the browsers like internet explorer,google chrome,mozilla except microsoft edge. In contrast, a relative path specifies the. Probably not the best solution, but onclick='window.open(url)' works.

The tag is explained in the chapter:
Absolute hyperlinks are complete addresses that contain all the elements of a url. It can contain any kind of url. Absolute paths contain a complete url, which includes a protocol, the website's domain name and possibly a specific file, subfolder, or page name. We have considered two extreme cases:
You'll want to somehow run an local server (there are dozens of ways to do. If the absolute path looks incorrect, then modify. If you're trying to run it with the file:// protocol (by just opening index.html), an absolute path won't resolve correctly. Unexpectedly (to me) this.href always returns an absolute url (.

But everything is relative in this world.
Absolutely absolute and absolutely relative urls. I don't know why you are. An “absolute” href has a scheme.

![[Javascript] 절대 경로(Absolute Paths)와 상대 경로(Relative Paths)](https://i2.wp.com/i.imgur.com/QBI1YGE.png)
