wireviews.com/lyrics/instar.html">Instar lyrics
In this case, the file transfer protocol is http://, the domain is wireviews.com, the directory
is lyrics, and the file name is instar.html.
If you??™re linking to a website??™s homepage, you can usually leave off the file name, as in the
earlier link to the friends of ED site, and the server will automatically pick up the default
document??”assuming one exists??”which can be index.html, default.htm, index.php,
index.asp, or some other name, depending on the server type. However, adding a trailing
slash after the domain is beneficial (such as http://www.wireviews.com/). If no default
document exists, you??™ll be returned a directory listing or an error message, depending on
whether the server??™s permissions settings enable users to browse directories.
Relative links
A relative link is one that locates a file in relation to the current document. Taking the
Wireviews example, if you were on the instar.html page, located inside the lyrics directory,
and you wanted to link back to the homepage via a relative link, you would use the
following code:
Wireviews homepageDepending on how the target site??™s web server has been set up, you may or may not
have to include www prior to the domain name when creating this kind of link. Usually
it??™s best to include it, to be on the safe side. An exception is if you??™re linking to a subdomain,
such as http://browsers.
Pages:
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234