+ 5
Differentiate html and html extension????
7 ответов
+ 14
I don't like .htm,
it feels incomplete, So I use .html
The difference between .htm and .html is-
in .htm, there is no 'l' in the end,
while in .html, there is 'l' in the end. 🤣
The similarity is-
both works same.
+ 11
The file suffix has no relation to the file content
it's merely a convention to hint the type of information in the file.
Specifically, .html and .htm are both used to refer to text that's marked up with HTML. There's no difference.
Why two suffixes for the same type of file? Web servers were initially exclusively UNIX systems with few limitations on the length of file names, and no formal notion of a file name extension.
The convention was to use '.html' as the suffix for an HTML file, and the suffix was often used by the web server to set the Content-Type header in the HTTP response.
Eventually, people started creating and even serving up HTML content from Microsoft Windows-based systems. At the time, a 3-letter file name extension was still commonly enforced on files.
For that reason, users on Windows shortened '.html' to '.htm'.So, '.htm' is a '.html' file that was generally written bysomeone using an old Windows environment (or served from one).
- James Mcinnes
+ 11
Unix developer and the rest of the world use html
Windows developer insist using htm
end of story
+ 5
noo
+ 5
i want short answer
+ 4
they are the same thing
+ 4
Webpage can be saved with extension either '.htm' or '.html'.