Вы находитесь на странице: 1из 2

14

Assignment 5 - relative and absolute links

Instructions
Use the following file and folder display to answer the questions about relative and absolute links. This is a
visual tree description of how you might display folders on your hard drive.
Single-outlined boxes represent folders on your hard drive.
Double-outlined boxes represent files.

WEBSITE
ROOTFOLDER

PAGES INDEXHTML HOME?IMAGES IMAGES

DATA PAGEHTML PAGEHTML PAGEHTML LOGOGIF BANNERGIF DOGGIF CATGIF MOUSEGIF

REFERENCEHTML

Questions

For each of the following write the tag on the space indicated that would be placed on the
referencing html page to make the situation work.

1) on the page "index.html", "logo.gif" displayed.

______________________________________________________________

2) on the page "index.html", "dog.gif" is displayed.

______________________________________________________________

3) on the page "index.html", there is a link to "page1.html".

______________________________________________________________
15
4) on the page "page1.html", there is a link to "page2.html".

______________________________________________________________

5) on the page "page1.html", there is a link to "index.html".

______________________________________________________________

6) on the page "page2.html", "cat.jpg" is displayed.

______________________________________________________________

7) on the page "page3.html", "banner.gif" is displayed.

______________________________________________________________

8) on the page "page1.html", there is a link to Apple’s website.

______________________________________________________________

9) on the page "page1.html", there is a link to "reference.html".

______________________________________________________________

10) on the page "reference.html", there is a link to "page1.html".

______________________________________________________________

11) on the page "reference.html", there is a link to "index.html".

______________________________________________________________

12) on the page "reference.html", "logo.gif" is displayed.

______________________________________________________________

13) on the page "reference.html", "mouse.gif" is displayed.

______________________________________________________________

14) Which of the above questions is an absolute link? ______________________


Hand in these two sheets with the answers completed and your name on the top

Вам также может понравиться