How to Organize Files on a Website
You've created a personal or business website and you want to make sure your site comes together when it goes live. In order for your website to load and display properly, you need to organize your html files correctly.
- Difficulty:
- Moderate
Instructions
-
-
1
Make sure all your files are saved in the same directory. You need to keep the files together in order for them to be uploaded to the Internet correctly.
-
2
Create a folder in the "My Documents" section of Windows. Name the folder something that pertains to your website because all your website files will be kept here.
-
3
Name your home page file "Index.html." You must use this file name for the first page in your website in order for the page to be uploaded properly.
-
4
Save all other files with the html or htm extension. Files will not upload if they are saved in any other way. Graphic files are an exception and they can have a gif or jpeg extension must they must still be in the same folder on your hard drive.
-
5
File each graphic separately and give each graphic an individual name. The name should be one word with no spaces and end with the gif or jpg extension.
-
6
Give each file a clear name so that you can find the file pertaining to each page you create. You might have a similar file name for each item on a particular page. For example, your customer service page could have files called customer service phone number and customer service questions. The extension for each would be html.
-
1
Tips & Warnings
Check that each file has an htm or html extension or your pages will not load correctly.