include html in html page
-
Without using any server side language there is only one way to include one html file within another html file. <iframe src="included.html" width="450" height="400" frameborder="0"> Another way is to use any server side language. In all server side scripting languages there is more than one method to include file. Hope this will help!
Jinal Desai
-
Without using any server side language there is only one way to include one html file within another html file. <iframe src="included.html" width="450" height="400" frameborder="0"> Another way is to use any server side language. In all server side scripting languages there is more than one method to include file. Hope this will help!
Jinal Desai
Also you can use AJAX to include an html page into html after the page has loaded or other sense dynamically.
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
If you want to embed a page in another, use iframe. Syntax:
</iframe> </pre>
The URL points to the location of the separate page. You can also point to a local file.
You can also set height and width:
<pre lang="HTML"> <iframe src="demo_iframe.htm" width="200" height="200"></iframe></pre>For removing the borders, use following code:
<pre lang="HTML"><iframe src="demo_iframe.htm" frameborder="0"></iframe></pre>
<div class="signature">---AkiDakiObi</div></x-turndown>