include html file within html file

How do one include an html file into another html file. I do not want to use ssi. Just client side scripting.<br />
thanx in advance<!--content-->I'm still learning actual html coding but depending on what you want you could use iFrame with no boarders and I've seem something called in-line frames on Microsoft's site.<br />
<br />
Really need more detail of what you want to accomplish.<!--content-->This will insert a page in a page:<br />
<br />
<object type="text/x-scriptlet" width=100% height="250" data="data.htm"><br />
</object><br />
<br />
This is IE only!<br />
<br />
Usage: Can be used anywhere in the body enclosed by span, div, p, or TD<br />
<br />
Does not resize to fit content the width and height in the tag are<br />
absolute, and here are no scroll bars. Like a frame with a frame.<!--content-->In IE5 you can also use the Download <!--more--> behavior:<br />
<!-- m --><a class="postlink" href="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/reference/behaviors/Download">http://msdn.microsoft.com/library/defau ... s/Download</a><!-- m --> <!--more-->.asp<!--content-->As sherpa said, iFrames are good to use (but unfortunately supported only in IE browsers). Netscape 6 supports them too. <br />
<br />
go here for more info:<br />
<br />
<!-- m --><a class="postlink" href="http://www.wdvl.com/Authoring/HTML/4/Tags/iframe.html">http://www.wdvl.com/Authoring/HTML/4/Tags/iframe.html</a><!-- m --><!--content-->I knew abt iFrame solution for IE. But what abt netscape. I tried to use layers..but....<br />
can anyone please let me know how to include a html file in netscape.<br />
<br />
thanx<!--content-->I tried to load en external html file within a layer. It actually works, but the layer needs absolute positioning which is undesirable. Actually the file contents should flow with the main document flow. Hence i tried to use Ilayer. It places the contents in the required position.But the problem is that the included file contents repeat twice (strangely).<br />
The code snippet is as follows....<br />
<br />
1. <ilayer id="top" src=http://www.htmlforums.com/archive/index.php/"header.htm"></ilayer><br />
2. <ILAYER> <br />
<LAYER src=http://www.htmlforums.com/archive/index.php/"header.htm"></LAYER><br />
</ILAYER> <br />
<br />
I tried both, but no use. Can please anyone guide me through this.<br />
<br />
Thanx <br />
<br />
Anand<!--content-->
 
Back
Top