Library Web Guidelines
1. Use the templates provided.
- JVL second pages
- BA second pages
- User Services pages
- Department pages
- Class pages
2. File Names
Shorter names work best.
- Keep all Original file names to maintain existing links. The link may be on many pages, even ones you don't own. Do not change files names for revisions of pages or tutorials.
- No spaces in file names. They are confusing and the symbol %20 is substituted for a space. File names without spaces are easier to use.
- Use the file extension .html only (no .htm) This also avoids confusion. Especially if you are trying to remember a url to type in.
- The main file in a directory must be index.html. This works with the web server to provide the default main page for each directory. Only three layer down folders should not have index.html files.
Some servers are case sensitive, so our rule has been to use lower case only. This avoids many problems. You will notice that Google indexes some pages twice because they have been loaded with capitals and without capitals.
Set your WS-FTP file transfer or other publishing software to force lowercase and change extensions from .htm to .html
3. Titles on Pages
- All pages must have titles. This is not the title that shows on the page, it is made by going into PAGE PROPERTIES. Files will not index or bookmark correctly without titles. Use the following style for titles:
- NSU Libraries - Dept or Resource - Other subpart
4. Location of Graphics
All graphics reside in graphic directories: /gifs or /images
You should not copy the graphics with your files into the same directory. Put new graphics in the /gifs directory unless they are only specific to your page, then place them in the same folder as your page. Link to graphics in the /gifs directory. We have the same graphics on every page. These should be in only one place. It saves file space. It makes pages load faster and takes advantage of caching. It also makes updates easier. Some publishing programs copy graphics with files. If this happens, they may be removed.
When placing graphics on a page, make sure the height and width are specified. Also, you must type in Alternate (alt) text. This shows up when graphics do not display and is used by Lynx and ADA requirements. It also helps graphic links to be indexed by search engines.
5. Relative file linking
Use full URL linking. ie. https://library.nsuok.edu/yourfolder/yourfilename.htmlUse full linking for all links, external, internal and graphics.
All library files should appear to be sponsored by the same organization. We must standardize the way files display. The best way to do this is to make templates that everyone uses. DO NOT ADD STYLES OR OTHER CSS to templates.
Page maintained by Linda West firstname.lastname@example.org
Last Updated: November 28, 2011