HTML
<nav>
<a href="https://stackoverflow.com/questions/18208789/index.html">Index</a>
<a href="contact.html">Contact</a>
</nav>
<section id="content"></section>
jQuery
$(function(){
$('nav a').on('click', function(e) {
var htmlFile = $(this).attr('href');
e.preventDefault();
$('#content').load(htmlFile);
});
});
3
solved HTML 5 page navigation