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?

Recommended Answers

All 3 Replies

Member Avatar for GreenDay2001

you can do this with iframes or with the help of a external javascript file.

or PHP ^_- or SSI(ServerSideIncludes/SHTML).

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

I generally use external javascript files to do this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.