0

How would I be able to reference HTML code in HTML files?

I have a basic webpage setup already. Header, navigation, main body, footer etc. I feel, as each page on the site would be pretty much the same, it would be a bit silly to continuously repeat each part of code for these objects (Mainly the navigation as it takes up a bit of space).

As the navigation bar, header, footer on every page would be the same on each page I would think that there would be a way to reference each of these parts.

Say I could reference an external file to load then add the header, then the navbar, then I add the content to the page manually, then reference the footer.

0 Answers0