creating file paths in html

10
Creating File Paths USING HTML

Upload: jenna-kammer

Post on 24-Apr-2015

11.663 views

Category:

Technology


2 download

DESCRIPTION

Learning to construct file paths in HTML

TRANSCRIPT

Page 1: Creating File Paths in HTML

Creating File PathsCreating File Paths

USING HTMLUSING HTML

Page 2: Creating File Paths in HTML

Where do we need to go?Where do we need to go?I am working on index.html and need to

make a link to 10.htmlI am working on index.html and need to

make a link to 10.html

Page 3: Creating File Paths in HTML

How do we get there?How do we get there?My first step would be to link through

the visitors folder: <a href=“visitors/”>Photo of Jimmy</a>

My first step would be to link through the visitors folder:

<a href=“visitors/”>Photo of Jimmy</a>

You are not done yet! Keep reading…

Page 4: Creating File Paths in HTML

Keep Going…..Keep Going….. Now that I have linked through the Visitors

folder, I need to link through the photos folder: <a href=“visitors/photos/”>Photo of Jimmy</a>

Now that I have linked through the Visitors folder, I need to link through the photos folder:

<a href=“visitors/photos/”>Photo of Jimmy</a>

You are still not done! Keep reading…

Page 5: Creating File Paths in HTML

One Last Step…..One Last Step….. Now that I have linked through the Visitors and

Photos folders, I need to link to the page: <a href=“visitors/photos/10.html”>Photo of Jimmy</a>

Now that I have linked through the Visitors and Photos folders, I need to link to the page:

<a href=“visitors/photos/10.html”>Photo of Jimmy</a>

Now you are done! Good Job!

Page 6: Creating File Paths in HTML

Now, lets reverse….Now, lets reverse….I am working on the 10.html file and

need to link to index.htmlI am working on the 10.html file and

need to link to index.html

Page 7: Creating File Paths in HTML

How do we get there?How do we get there?My first step would be to link out of the

Photos folder: <a href=“../”>Home Page</a>

My first step would be to link out of the Photos folder:

<a href=“../”>Home Page</a>

You are not done yet! Keep reading…

Page 8: Creating File Paths in HTML

Keep Going….Keep Going….After I link out the Photos folder, I need

to link out of the Visitors folder: <a href=“../../”>Home Page</a>

After I link out the Photos folder, I need to link out of the Visitors folder:

<a href=“../../”>Home Page</a>

You are still not done! Keep reading…

Page 9: Creating File Paths in HTML

One Last Step…One Last Step…After I link out the Photos and Visitors

folders, I need to link to the index.html page:

<a href=“../../index.html”>Home Page</a>

After I link out the Photos and Visitors folders, I need to link to the index.html page:

<a href=“../../index.html”>Home Page</a>

Now you are done! Great job!

Page 10: Creating File Paths in HTML

In ConclusionIn Conclusion

Your link follows your files into the folders that contain them.

If you are linking back, every ../ that you use means that you are linking out of ONE folder.

Don’t forget your <a href=>, the “quotes around the link”, and your end tag </a>.

Your link follows your files into the folders that contain them.

If you are linking back, every ../ that you use means that you are linking out of ONE folder.

Don’t forget your <a href=>, the “quotes around the link”, and your end tag </a>.