?
Solved

Include external HTML code??

Posted on 2007-12-06
1
Medium Priority
?
809 Views
Last Modified: 2012-06-27
How can I include external HTML code in a HTML / TPL file??

My file is named index.tpl (Or index.html)

I want it to include in the header of the file ALL THE CODE included in header.html

How can i do that?
0
Comment
Question by:axtur
1 Comment
 
LVL 29

Accepted Solution

by:
Göran Andersson earned 2000 total points
ID: 20424704
You can't include files in an html file. Change the extension to shtml, and use:

<!--#include file="header.html"-->
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Over time, the online landscape has altered considerably, but that’s nothing compared to the up-and-coming trends that will shape the web design industry in the coming year. Keep reading to find out which trends will shape B2B web design in 2018.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
This video teaches users how to migrate an existing Wordpress website to a new domain.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question