Insert one HTML file into another HTML file

html, javascript, jquery, php

Solution

with PHP it's possible, but you have to change the files to .php files.

put this in the main file:

<?php 
     include("navbar.php");
?>

I don't know a good way with HTML

Problem

I am making a huge website, with on all pages a navbar. Is it possible to create the navbar in a .html file and import it into all the other pages, and if so, how?

Original source

Related problems