DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   Including header file using HTML (http://www.daniweb.com/forums/thread63707.html)

HandSome Dec 3rd, 2006 12:26 pm
Including header file using HTML
 
Is it possible to include a header and footer file using HTML? I have my file as a .html and need to be able to include the HTML for the header and footer. Anyone know how I can do this?

vishesh Dec 3rd, 2006 4:38 pm
Re: Including header file using HTML
 
you can do this with iframes or with the help of a external javascript file.

MattEvans Dec 4th, 2006 12:05 am
Re: Including header file using HTML
 
or PHP ^_- or SSI(ServerSideIncludes/SHTML).

if it's just a static header, I'd probably use SSI

FC Jamison Dec 10th, 2006 1:49 am
Re: Including header file using HTML
 
I generally use external javascript files to do this.


All times are GMT -4. The time now is 4:36 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC