Artc 331 Lecture January 12, 2004

Introduction to HTML and the WWW


Breaking down a website address (URL)

http://www.site.com/path/filename.html
http:// www.site.com /path /filename.html
Scheme server/root level path/directory file name

TYPES OF SCHEMES:
HTTP:// HyperText Transfer Protocol
FTP:// File Transfer Protocol used for downloading files
NEWS: Newsgroup
Gopher: Search Engine
Mailto: email mailto:emailaddress@bgnet.bgsu.edu
file:/// file on desktop or computer used when working in HTML editor


URL (Uniform Research Locator)

ABSOLUTE = entire path name
http://www.offbgsu.com
Use if going to another site, or

RELATIVE = location with reference to the current URL
http://anotherofmypages.html

Always use a relative URL! It makes files easier to move to different servers or folders.


Types of File Extensions:

* vital because they tell the computer HOW to interpret the data!!!

WEB FILES:SOUND FILES:IMAGE FILES:OTHER:
.html.mp3.png.vrml
.htm.aiff.jpg.mov
.txt.wav.gif .mpg
.xml.au  .swf

USE ONLY LOWERCASE NAMES FOR FILES AND FOLDERS. Keep the names SIMPLE!

index.html is the default name for the page that you want to load automatically when you enter that directory.


Back to Syllabus