Inclure le fichier html dans le fichier html
// js
<script>
$(function () {
var includes = $('[data-include]')
$.each(includes, function () {
var file = $(this).data('include')
$(this).load(file)
})
})
</script>
// html
<div data-include="header.html"></div>
<div data-include="footer.html"></div>
Faith Dev