HTML5 can store HTML files inside of HTML files, allowing you to do what an iframe does but with a static (or updated when the page refreshes or whatever) html page
AJAX also has something that can replace iframes
But iframes continue to exist likely for legacy and how easy it is to get a basic page running using them for home projects
Cosmicomical@lemmy.world 2 months ago
Yeah i don’t know why, probably exactly because is such a neglected feature that it offers workarounds for some limitations, like in the case of cookie-related patterns.