iframe vs embed vs object in HTML 5
HTML5 - Embedded content <iframe> vs <embed> vs <object> Embed, object and iframe tags are used to embed external resources in html document. <iframe> Primarily used to include resources from other domains or subdomains but can be used to include content from the same domain as well. < iframe id = "myFrame" frameborder = "0" allowtransparency = "true" src = "report.html" width = "100%" height = "700" style = "border:none;" > </ iframe > Pros : · The <iframe> 's strength is that the embedded code is 'live' and can communicate with the parent document. Cons : · Iframes Bring Security Risks: o A malicious user can run a plug-in, change the source site URL, hijack your users' clicks · ...