This is a cool example of how to do templates in PHP. Hope it's helpful!
Some intersing facts about this page:
hsl(0,0%,16%)
<!-- for the header -->
<header>
<?php
require 'header.php';
?>
</header>
<!-- content goes here -->
<!-- for the footer -->
<footer>
<?php
require 'footer.php';
?>
</footer>