How can we include files inside html, like how we usually include files in Php.
<?php include "nav.php";?>
You can use jQuery:
HTML
<div id="container"></div>
jQuery
$("#container").load('somepage.html');
Learn more about the load
function and what more you can do with it in the documentation.