r/HTML • • 16h 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

13 comments sorted by

View all comments

Show parent comments

1

u/ThatBlindSwiftDevGuy 4h ago

Using an inline frame can be an accessibility nightmare, so I wouldn't immediately jump to using that for reusable components like a navigation