<body style=color:maroon; background-color:beige; font-family:Rockwell; font-size:120%;>
Example: The files app1.htm and app2.htm are in the same folder.
Example: The files ch3.htm and cat.jpg are in a child folder folder relationship. ch3.htm is in public_html but cat.jpg is in the child folder images.
<a href=app2.htm>To Appendix 2</a>
<a href=app2.htm>To Chapter 2</a>
<a href=appendix/app3.htm>To Appendix 3</a>
<img src=images/cat.jpg />
<a href=../ch1.htm>To Chapter 1</a>
<img src=../images/dog.jpg />
Write the relative path from the source file to the
target file:
Current File | Target File or Image |
a.htm | d.htm |
letters-home.htm | b.htm |
d.htm | e.gif |
last.htm | last.gif |