My Rules
Here are some basic HTML rules that will make your life much easier. 1. Work in one folder for each project. If all your HTML and graphics are in the same folder, you will have fewer broken links when you transfer your files to a server, and creating links will be much easier. Remember this is a "per project" rule. You need to separate files from different projects to keep file management reasonable. 2. Do not use spaces in file or folder names. If you create a link to a file, and that file has a space in the name, you will notice extra garbage in the link. The web interprets a space as a separation between commands, so the second part of the name will be seen as a program, or setting rather than part of the name. You can separate words in your file names using an underscore.
Or you can use Camel Case (I don't create these names... I just use them)
You may want to check with your webmaster before using capital letters. Some web servers are case sensitive when dealing with file names. 3. Always use a file extension when naming your files. No web server (not even Apple's web server) can display a web page, graphic or multimedia file properly if you don't have the correct extension. Here are the extensions that you will need to use in this class. |
File Type Extension HTML - Standard Web Page .htm GIF image .gif JPEG image .jpg Server Side Include .asp Script Page .asp
| 4. Never use frames. Frames will disorient your audience faster than any other web technology. I have managed to make more than 25,000 web pages without ever using frames. There are just too many other options, and all of them are better than frames. (Please don't mention that all of BlackBoard utilizes frames. It is a poor design. You will get multiple "parts of page not secure" warnings because of the frames. I have complained to the highest powers, and they are working to redo the program to make it frameless.) |
| Jump To Top | Line
Breaks and Paragraphs |
|