Permalink
Browse files

add a note about filename extensions not being required at all for html.

Probably too long and could be worded better. I can't figure out what license there is for this site/repo but feel free to edit mercilously. ;-) (as wikipedia's edit box warns)
  • Loading branch information...
1 parent 4cc42d1 commit 6d449e5e29570cb69a2965c70ce0d419a4d78110 @bymerej bymerej committed Sep 12, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 index.html
View
@@ -329,6 +329,13 @@ <h1 id="intervention"><b>W3Schools</b> An Intervention</h1>
That is hardly "new software", and illustrates the misunderstanding of basic principles of
computing &amp; software design that tends to permeate W3Schools material.
</p>
+ <p>
+ Extensions are not necessary at all and if they are present they don't have to be
+ <code>.htm</code> or <code>.html</code>. The key thing is that HTML files are served with
+ the corrent content-type e.g. <code>text/html</code>. (many web servers have some built in
+ or preconfigured knowledge that <code>.htm</code> and <code>.html</code> should be served
+ with the <code>text/html</code> content-type)
+ </p>
</li>
<li id="html5_webstorage">

0 comments on commit 6d449e5

Please sign in to comment.