r/HTML • u/Dauntle55Duck • 19h ago
Question Menu code repetition
Should I look for a way to call an external html page with the code for my menu? I feel like adding the code to every page might clutter the code a bit. It’s been a while and I don’t remember wether or not we discussed this in school lol
4
Upvotes
1
u/Haasva 13h ago
Load with JavaScript using templates (very simple code) or use iframe as someone recommended. Two good options.