Directory structures or how to link to files in other folders!

Authors Avatar

Folders, files and how to navigate between them

Directory Structures

Or

How to link to files in other folders!

A directory or folder is a method of grouping files, or other folders, together on your computer. An example of a folder that you may have come across is the My Documents folder, which you can find on the desktop.

You can create new folders opening the My Documents folder, double click on the icon on your desktop. Once open move the mouse pointer to any free part of the white background and press the right mouse button. This will launch a popup similar to the one below.

Join now!

Now you have your files stored in the folder you need a way to access them in your HTML code. There is a standard system used on computer systems to do this.

To access a file stored in the same directory you can simply put the name of the file (including the file extension .gif, .jpg, etc.) So assuming we wanted to link to an image called myimage.gif which is stored in the same folder as our HTML code (in My Documents for example) we could use the following line:

<img src=”myimage.gif”>

Note : remember the ...

This is a preview of the whole essay