Handling code common to several pages

Help
2011-08-09
2013-04-03
  • I would like to put code that is common to several pages on my web in a separate file and link to that file. By editing that one file all pages linked to that file will be updated. One could put the header, footer, margin info, menu and css file in that file. I have read about the include command <!-#include file="included.html"->>, but I can't get it to work. I would also like to be able to test the code locally on my computer before updating to a web server. I have tried EasyPHP (a local host for the PC, but that does not work either). Please help.