When you are developing web applications is essential inserting HTML code in your website. There are many ways to do it: with iframe, with embed, and so on. But W3C recommends using the object tag:
<object type="text/html" data="http://example.com/app.html" width="100" height="100"></object>
Demostration
Source code of the demostration
To try the demo, copy this code and paste it into a text editor. Then save it as example.html and, finally, open the file with a browser.
<!doctype html>
<html>
<head>
<title>Embed HTML in a web page</title>
<meta charset="utf-8" />
</head>
<body>
<object type="text/html" data="http://dl.dropbox.com/u/11968143/apps/calculator/index.html" width="330" height="440"></object>
</body>
</html>
<html>
<head>
<title>Embed HTML in a web page</title>
<meta charset="utf-8" />
</head>
<body>
<object type="text/html" data="http://dl.dropbox.com/u/11968143/apps/calculator/index.html" width="330" height="440"></object>
</body>
</html>
At the moment of this comment, Internet Explorer doesn't support importing HTML with the object tag recommended by W3.
ReplyDeleteI hope in the future Microsoft will incorporate this feature!
Informative post sharing for the embed HTML in web pages. Thanks for the sharing. Best IT company in coimbatore | Best web site developer
ReplyDeletePemahaman kata dinamis dan statis menarik jika dihubungkan dengan judi online satu ini, yaitu dengan Main Domino QQ Online versi Mobile. Pertanyaannya kenapa harus bermain dengan cara dimanis ? Dan Apa itu dinamis ? (Baca Selengkapnya...)
ReplyDeleteWow! This is the perfect blog I am looking this type of blog its awesome blog here , share great information about this topic. This informative blog helps many readers with their decision-making regarding the situation. Great articles and will look forward for more!waterproof smart watch
ReplyDeleteSo good!
ReplyDeletehtml css javascript