In article <11**********************@g10g2000cwb.googlegroups .com>,
The Numerator <al*********@gmail.com> wrote:
I know a lot about HTML and now I'm teaching myself PHP to make my
pages more dynamic. However, all this time, I have no clue what the
difference is between .HTML files and .HTM files. Someone told me that
.HTM files were newer than .HTML files. Another source said that .HTM
files worked better with links or something.
They are both the same.
The .html extension came first. The .htm extension came from
Microsoft, because when Microsoft got around to noticing the World
Wide Web, there was still a huge installed base of Windows 3.0
operating systems. Under DOS and Windows 3.0, files extensions were
limited to 3 characters. So Microsoft had no choice but to shorten
..html to .htm. And people who developed HTML files under Windows
also had to use the .htm extension.
In that sense, .htm is "newer" but only because Microsoft couldn't
handle the full ".html" in its file names.
Web servers treat both the same way; there's no difference.
Generally, if your pages are served by a unix or Linux server,
you'll use .html files. Even Microsoft servers now support .html,
so there's little reason for .htm anymore.
-A