html5 - difference between iframe, embed and object elements -
html5 defines several embedded content elements, which, bird's-eye view, seem similar point of being largely identical. what actual difference between iframe , embed , object ? if want embed html file third-party site, of these elements use, , how differ? <iframe> the iframe element represents nested browsing context. html 5 standard - "the <iframe> element" primarily used include resources other domains or subdomains can used include content same domain well. <iframe> 's strength embedded code 'live' , can communicate parent document. <embed> standardised in html 5, before non standard tag, admittedly implemented major browsers. behaviour prior html 5 can vary ... the embed element provides integration point external (typically non-html) application or interactive content. ( html 5 standard - "the <embed> element" ) used embed content browser plugins. exceptions svg , html handled...