HTML and CSS Reference
In-Depth Information
UDISK
G:\ drive
Chapter02
Chapter03
ChapterFiles
ChapterFiles
HTMLcode
(.html files)
HTMLcode
(.html files)
page1.html
page2.html
page3.html
samplephotos.html
underwatertours.html
Images
Images
image1.jpg
image2.jpg
image3.png
fish.jpg
lobster.jpg
underwaterlogo.jpg
Figure 3-17
a house, including the house number, street name, city, state, and zip. In order to use
that absolute address, you would have to give the entire path (or address) to a person
who wants to get to that particular house. When you are referencing a Web page from
a server outside of the server on which your Web pages reside, you have to use an abso-
lute path. In this chapter, you use the absolute path to the National Park Service Web
site for Hawaii. This is because that Web page is located outside of the server (or stor-
age media) on which the Web pages created in the chapter reside. Your link statement
for this external Web site is:
<a href="http://www.nps.gov/state/hi/index.htm">one of our
fabulous tour destinations</a>
Although absolute paths indicate the specific addresses of files, they can be cumbersome.
For instance, if you use absolute paths for specific addressing of external Web pages, and
those Web pages are moved to a different folder or different Web server, then all of the
absolute paths would have to be changed. In the example above, if the home page for
 
Search WWH ::




Custom Search