How to Include one HTML file into another HTML file

  • cools4u
  • Born
  • Born
  • cools4u
  • Posts: 2

Post 3+ Months Ago

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...

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 126 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.