I was hoping someone could help me figure out why my html include was not working. In a previous thread, a while ago, I was told one can include html from another file using the following syntax: <!--#include virtual="pathToFile.html" -->
Is that I am trying to use html includes in the following, and much simpler example, but the point is that they don't seem to be working.
I have an index.html, which has the following syntax and a live copy is up here:
and the file it includes is up here and the contents of that file is:Code:
<title>Red bg on no script</title>
<!--#include virtual="include.html" -->
So when one views index.html, shouldn't the include be included and the body's background be set to red?Code:
Does anyone have any ideas on how to fix this?