The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other object vs. embed tags and HTML5

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #26282

    I’m confused over the exact differences between the <object> and <embed> tags, and which one I should use for, say, embedding a Flash movie on a page.

    First off, which is valid? I’ve read in multiple places that <object> is valid and <embed> is deprecated. But then I found on W3Schools that <embed> is a new tag in HTML5, yet it still supports <object>, although with certain attributes deprecated.

    So what’s the deal here? <embed> was deprecated, but now it’s new in HTML5 so <object> will be deprecated instead? Which one should I use right now, and which one should I use for the future?

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.