News for hackers. Stuff that matters.
Re:Why does target="_blank" have an underscore in front? by jodydonetti on Monday February 24, 2025 @10:32AM (#43160686)
What are you missing by using iframes (still standard, supported, working) + css for layouting that old school frames would give you?
Re:Why does target="_blank" have an underscore in front? by graypegg on Monday February 24, 2025 @11:48AM (#43161677)
The targeting for updates. Something like hotwire/turbo frames allows you to push a form's response to any turbo-frame. You can also push updates to multiple frames at once. They're matched by frame ID, much like target="", but in the case of iframes, the iframe is the only thing that can update the interior HTML. (other than just changing the URL from the parent application)

iframes are also in a rather locked-down security model, even if they exist on the same domain. (Requires message passing, strict CORS rules, strict cookies rules etc)