FILE FORMATS
q Save files in a UNIX/DOS-safe format. This
means for HTML documents that you should use eight or fewer lowercase letters
and/or numbers for the file name, followed by a period, ending with the letters
"htm". For graphics, you should use eight
or fewer lowercase letters and/or numbers for the file name, followed by a
period, ending with the letters "jpg" or "gif" (depending
on the graphics format).
|
Good examples |
Bad examples |
|
J
index.htm J
purchase.htm J
main01.htm J
1000.htm J
pictures.htm J
face.jpg J
cartoon1.gif |
L
index.html L
Purchase.htm L
main01 L
1000
std.htm L
PICTURES.HTM L
face.JPG L
cartoon1gif |
q Folders should be in a UNIX/DOS-safe format.
This means you should use eight or fewer lowercase letters and/or numbers for
the folder name; if you choose to have an extension after the folder name, do
so by adding a period and three or fewer lowercase letters and/or numbers.
|
Good examples |
Bad examples |
|
J
images J
docs J
folder01 J
main.img |
L
Images L
docs.folder L
folder.1000 L
MAIN.IMG |
q All HTML documents must be saved as text-only
files.
q It is best to save all HTML documents in the
same directory/folder.
q It is best to save all graphics in a
directory/folder called "images"; the images folder should be in the
same directory/folder as the HTML documents.
q All links should be relative links
Good: <A href="list.htm">
Good: <IMG src="images/start.jpg">
Bad: <A href="file://a:/coap2000
/list.htm">
Bad: <IMG src="a:/pictures/start.jpg">