<object width="300" height="300" type="text/plain" data="message.txt" border="0" > </object>
<object width="910" height="340" type="text/plain" data="message.txt" border="0" style="overflow: hidden;"> </object>
<object width="300" height="300" type="text/html" data="js-0100.html" border="1" > </object>
NOTE : You can achieve the same thing with the tag IFRAME but the OBJECT tag is preferred since OBJECT is part the HTML 4 Strict specification and IFRAME is not. However, IFRAME can be a target (for another HREF) but OBJECT can't.
Also the BORDER parameter is not supposed to work with the OBJECT tag (but some browsers accept it). The best practice is to use a style to turn on or off the border (ex. style="border: none;").
See also this related HowTo
Written and compiled by Réal Gagnon ©1998-2005
[ home ]