HTML and CSS Reference
In-Depth Information
Figure 2-36
Internet protocols
Used To
Access documents stored locally on a user's computer
Access documents stored on an FTP server
Access Web pages
Access Web pages over a secure encrypted connection
Open a user's e-mail client and address a new message
Linking to a Web Site
The URL for a Web page has the general form
http ://server/path/fi le name#id
where server is the name of the Web server, path is the path to the fi le on that server,
fi lename is the name of the fi le, and if necessary, id is the name of an id or anchor
within the fi le. A Web page URL can also contain specifi c programming instructions for a
browser to send to the Web server (a topic beyond the scope of this tutorial). Figure 2-37
identifi es the different parts of a sample URL for a sample Web page.
Figure 2-37
Parts of a URL
You might have noticed that a URL like do esn't include
any pathname or fi lename. If a URL doesn't specify a path, then it indicates the top
folder in the server's directory tree. If a URL doesn't specify a fi lename, the server returns
the default home page. Many servers use index.html as the fi lename for the default
home page, so the URL w ould be equivalent to .
Search WWH ::

Custom Search