Mywebdunia's Blog

Posts Tagged ‘server side includes

It is a common practice by web developers to make separate header and footer files. As there wont be any changes in these section in any of the pages.

So now the question arises how to use these HTML pages inside another HTML file. There is a solution for this that is

<!–#include VIRTUAL=”/common/header.htm” –>

So the above code makes the header file to include in another HTML file. Just paste this code change the path and use it where you want your header to be displayed.


Categories