What I would like to do, is that in my index.html, in the part of the body the entire page is loaded, let's say it hits "contacts" of the nav, and it loads me the contents of a contacts.html file, inside the body.
<html>
<head>
<title>Hola Mundo</title>
<script src="js\main.js"></script>
</head>
<body>
<header>
<h1>Hola Mundo</h1>
</header>
<nav>
<button id="Inicio" name="Inicio">Inico</button>
<button id="Contactos" name="Contactos">Contactos</button>
</nav>
<body id="Cuerpo">
<!-- aqui quiero que me cargue todo al presionar algún button del divsi presiono en el button contacto, me cargue contactos.html, si le doy a inicio me cargue inicio.html, y muestre el contenido dentro del body -->
</body>
</body>
</html>