Absolute vs. Relative References


It is important to note:  Our Email Test only supports absolute references to links and images embedded within your email.  So what's the difference between the two?  Hopefully this article will shed some light on the subject...

Using Absolute References (supported)

An Absolute Reference provides the complete http address, the directory path, and the file name. For instance, if you had a file named "logo.gif" in a directory called "images" under the URL "https://www.emailonacid.com" you would link to it as follows:
https://media.emailonacid.com/wp-content/uploads/2018/07/Sposta-logo.gif
In html context, this might appear as:
<img align="bottom" src="https://media.emailonacid.com/wp-content/uploads/2018/07/Sposta-logo.gif">
Absolute references must also be used inside embedded or inline CSS.

Using Relative References (unsupported)

A Relative Reference provides a partial http address in the form of a fragment of a full directory path. Keep in mind that by default, if no server name or path is specified in html, the file reference defaults to the current directory. If you are publishing files on the web, the default would be any file within your www directory. To use the example above, you would specify the link as
/images/logo.gif
In html context, this might appear as:
<img align="bottom" src="/images/logo.gif">