Home Web Design Programming Fairlight CMI Soap Box Downloads Links Biography About... Site Map

The Holmes Page Off-line Site Viewing (.htm vs .html)

Web Design Design Tips Programming Tricks Web Page Makeovers



BACK TO
WEB
PROGRAMMING
TRICKS

Many Internet Service Providers (ISPs) run Unix systems. Unix allows long filenames and extensions. So does Windows 95, but Unix is also case-sensitive. 
DOS/Win31 does not support long filenames, so an automatic conversion happens. For example, a file called startpage.html is converted to startpag.htm. Even if your browser requests the longer filename, it will get the shorter one (if it exists on your local drive). 
This is a useful behaviour, because it allows you to refer to the longer, Unix-compatible, filenames in your HTML source, while still being able to view the pages off-line on a DOS/Win31 machine. Just make sure that the first 8 characters of the filenames are unique in any particular directory. 
In your HTML source, always specify filenames in lowercase for full compatibility with Unix (where files are commonly in lower case), Win95, and DOS. 
EnvironmentIn sourceOn disk
DOS/Win31filename??.htmlFILENAME.HTM
Win95filename??.htmlfilename??.html
Unixfilename??.htmlfilename??.html


Home Web Design Programming Fairlight CMI Soap Box Downloads Links Biography About... Site Map

Site Map Send comments about this site to Greg at gregh@ghservices.com
All pages copyright © 1996-1999 GH Services™   Created 1996/10/01   Last updated 1999/09/30
All trademarks contained herein are the property of their respective owners