Home     SSI Lab     CSS Templates     CSS     Htaccess     Web Design     XHTML

Design Tutorials

graphic-img   

SSI-D HOME

SSI LAB

CSS Templates

CSS

.Htaccess

Web Design

Getting Started

Site Building

Web Tricks

Legal Issues

(X)HTML

HTML-Kit

Resources





File Include

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.




Advertisement Sign up for free to PayBox.me today and get $25 just for joining AND earn up to $20 per day for participating.