coredveloper — 2013-10-15T15:58:01-04:00 — #1
I have a file index.html which I want to separate the header and footer in header.html and footer.html and include them in index.html. How can I do this?
force — 2013-10-15T17:46:37-04:00 — #2
The best and cleanest approach would be to do this with a server-side language. Is there a reason why you can't do that?
coredveloper — 2013-10-15T17:55:15-04:00 — #3
Every server supports server-side language? I mean I am new in server knowledge. Can you please explain. Thanks
coredveloper — 2013-10-15T18:01:17-04:00 — #4
What about Node.js as server?
ralphm — 2013-10-15T18:18:00-04:00 — #5
I'd say keep it simple. Most hosts support PHP, and PHP makes this extremely easy. Here is a simple way to do it.