PDA

View Full Version : How to include one HTML file into another HTML file



cools4u
01-21-2011, 05:34 AM
How to include one HTML file into another HTML file:

"#include" tag can be used to include one HTML file which can be worked as a Master page into another HTML file which is treated as Child page as below:

<!--#include virtual="masterfile.html" -->

Use the above code anywhere in the body tag of child page...

If it will not work properly, try Re-Naming a File treated as Child Page with ".shtml" extension, instead of .html...

twilight
03-18-2011, 06:25 AM
HTML is simple language and you can easily get design templates and css to include into it.

auston
03-22-2011, 03:00 AM
Dear friend,
In this case, this link would be very helpful for you,
boutell.com/newfaq/creating/include.html

JackKnight
04-20-2011, 05:06 AM
Use CSS to include another HTML file.

HenryWilson
06-09-2011, 11:12 AM
I agree with Jack.

schwa
06-14-2011, 03:47 AM
Well, what you post is pretty useful! But I don't think it is necessary!

avinmichal
07-13-2011, 02:56 PM
Learning about HTML and the action complex with it is not an brief job. It is something that you charge to ad measure time and accomplishment to. But if you absolutely wish to use and accept computer accent and how it works, you will be able to acquisition time to get yourself acquainted with HTML and the elements complex in it. The best reason, of course, is that HTML can be acclimated to allure added readers to your site, abnormally back it can advice you abundantly with optimizing your keywords.

ashokkumar
08-29-2012, 01:47 AM
Its very simple using Include tage <#include file="masterfile.html">

rfwilliams777
09-11-2012, 11:30 PM
iframe is another way.

ericfox
09-13-2012, 06:39 AM
According to me CSS and iframe are best thing for that...

konetkar500
12-18-2012, 03:21 AM
<!--#include virtual="insertthisfile.html" --> Try this