<class home>  <html part I>   <back   next>

html

Writing html:

URLs:
Uniform Resource Locator, or site address. Each file on the internet has a unique URL.

http://www.site.com/liz/file.html (a file on a web site)
(scheme)(server name)(path)

ftp://ftp.site.com/pub/prog.exe (a file on an ftp 'File Transfer Protocol' site)
file:///Harddisk/Web/home.htm (a file on your hard disk)

Absolute vs Relative URLs:
An absolute URL shows the entire path to the file, including the scheme, server name,
the complete path, and the file name:
www.site.com/web/index.html

With a relative URL, it points to files in relation to where it is:
index.html (we are in the same folder)
images/image.gif (there is a folder in here with me,"images", and inside it is "image.gif"))
../info/data.html (Inside the folder I am in, there is also a folder called "info" and "data.html" is inside it)