How to Make a Footer in HTML
- 1). Create an HTML file containing the information you want in your website's footer. Save this file and call it "footer.php."
- 2). Open the file for your Web page and, at the bottom, type this line of code:
<?php include "footer.php"; ?> - 3). Resave your Web page as a PHP file -- if it isn't one already. This is necessary to let your Web server know that it has to take action on the PHP code.
- 4). Upload both your resaved PHP Web page file as well as your footer.php file to your Web host. The next time you visit your Web page, the footer file will appear at the spot on the page you placed the line of code. You can include that line of code in all your Web pages to keep the footer consistent across your entire site.
Source...