What Is an Absolute Path?

Dan Gold

Written by Dan

An absolute path is a specific web address that points to a file or folder on a server. For example, if you wanted to access a file on your website that was located in the /images/ directory, you would use the following absolute path:

<img src="http://www.example.com/images/dog.jpg" />

If you wanted to link directly to a page on your own domain, you would do the following:

<a href="http://www.example.com/dog.html"></a>

Last updated

November 8th, 2022