I have a problem with #include statement. I want to include one HTML(.htm) file into another one but it doesn't work.
For example:
<<Main.htm>>
<HTML>
<HEAD>
<TITLE>Main.htm</TITLE>
</HEAD>
<BODY>
<!--#include file="inc.htm" -->
</BODY>
</HTML>
and
<<inc.htm>>
<tr>
<td>test</td>
</tr>
These files are in the same directory.
But it doesn't display anything. What I did wrong?
For example:
<<Main.htm>>
<HTML>
<HEAD>
<TITLE>Main.htm</TITLE>
</HEAD>
<BODY>
<!--#include file="inc.htm" -->
</BODY>
</HTML>
and
<<inc.htm>>
<tr>
<td>test</td>
</tr>
These files are in the same directory.
But it doesn't display anything. What I did wrong?