Home     SSI Lab     CSS Templates     CSS     Htaccess     Web Design     XHTML

Design Tutorials

graphic-img   



File Include

Bookmark with StumbleUpon
del.icio.us
Digg it
reddit
Furl
Spurl
ma.gnolia
Yahoo MyWeb
Windows Live
Sponsors

Introduction

What if you want to include a web page within another web page but don't have SSI enabled on your server or hate messing with iframes? HTML has the under used <object> tag which can be used for this purpose.

Tested in IE6 Icon



Object tag:

The following object tag can be used to include a web page into this web page:

<object type="text/x-scriptlet" width="500" height="200" data="http://www.google.com">   </object>

An example of this can be seen below (with border for presentation).

Screen shot for non-IE users.


This method has obvious limitations, the main one being that it is not really suitable for including whole pages but more useful to include small sections of a page.