| Introduction
Naming
Files Directories and Files Linking Files File URL Cheat Sheet
Evaluate
this tutorial
PDF Handout
|
Naming Files
When you create a Web page, you should get into the habit of naming your
files in a way that makes them easy to find and group similar files in
a directory listing. These are the golden rules:
- Always use lowercase.
- Always use short and descriptive file names if you can.
- Never use weird characters in file and anchor/bookmark names.
- You can use a dash (-) or underscore (_) within file names instead
of spaces (spaces will turn into “%” in browser windows
and will cause problems on the Internet and other platforms).
- Try not to arbitrarily change the name of your page; other web sites
may link to your old file name.
File
Name Extensions
A Web site may contain many files in different formats. Knowing different
file extensions will help you manage your files. Here are some basic
file extensions:
- .htm / .html – A basic web page. View using
your web browser.
- .jpg / .gif - Graphic file formats that use compression
standards.
- .doc - A Microsoft Word document; to view or print
these files, you will need to use Microsoft Word in your local computer
to open or save the file.
- .pdf – Adobe Portable Document Format, for
printing. Can be viewed in your browser or downloaded to your local
computer, depending on your browser settings. You will need a PDF viewer
to use these documents. Converting your word document into a .pdf essentially
makes it a picture, so it is more difficult for people viewing your
page to copy your work.
- .ppt - A Microsoft PowerPoint document; to print
these files, you will need to save the file to your local computer
and then use Microsoft PowerPoint.
- .xls – Excel document
- .txt – plain text file – unlike a word
processor these files have no formatting
|
|