What is a remote file?

This is the exercise I am referring to.

One of the FAQ’s is titled “Do absolute paths always point to remote files or assets?” What do the words “remote files” and “assets” mean in the context of HTML and its DOM?

Assets are files which are displayed in or used by a website.

Remote files, which are assets to a website, exist outside of the server and project folder where the website is hosted. The only way to access them inside the HTML file is to call their absolute path, for example:

<img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" />

What the FAQ item is referring to is that it is also possible to call on assets which are stored locally by using an absolute path, although I would personally never do that, and use relative paths.

1 Like

A remote file is a file on another computer. A local file is a file in the same computer as the HTML file.