Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert HTML in HTML 1

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Hello Guys

I have my navigation menu in a separate HTML file and I want to include this file in all my other pages. Is there a way to include my navi page into all my HTML files?

HB
 
<!--#include file=&quot;yourHTMLFile.html&quot;-->

Just stick in that little gem of a line of code wherever you want the text from the html inserted...

Just make sure that the file that you are including doesn't include all the headers and other overhead that is already written at the top of the page you're including it on.

good luck!:)
Paul Prewett
 
You could ask use JSP. (Java Server Pages). My company is switching from SSI to JSP because less server resources are used with JSP. But either way will work good.

-Caffeinerusher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top