• Aloso@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      They still have their place; for example to embed Google Maps or a YouTube video. Generally, whenever you want to embed something from a different website you have no control over, that shouldn’t inherit your style sheets, and should be sandboxed to prevent cross site scripting attacks.

    • Aa!@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      Seems to me they were mostly used to put content inside a scrollable element. Their place has mostly been taken by overflow:auto hasn’t it? I think this is the better way.

    • SixTrickyBiscuits@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I believe Kingdom of Loathing used iframes extensively to achieve what looked like a “dynamic” page long before that was a thing.