I have no idea if there's a technical term for this, so I didn't find anything on google nor this site.
A friend of mine who has been making sites for years, and actually set up a bussiness, uses a rather unique (to me) system.
He splits up his page into 3 parts, the header, body and footer. Puts them into 3 files, and then includes the header and footer in the body page, leaving only this: (example)
<?php include_once "Constants/Header.php"; ?>
<div id="Container">
<div id="Header">
HEADER
</div>
<div id="Menu">
<ul id="Nav">
<li>Menu item</li>
<li>Menu item</li>
<li>Menu item</li>
<li>Menu item</li>
<li>Menu item</li>
<li>Menu item</li>
</ul>
</div>
<div id="Body">
</div>
</div>
<?php include_once "Constants/Footer.php"; ?>
Is it good practise to code a site this way? -if so, why? And last but not least, do you code your pages this way?