Microsoft KB Archive/279422

= When a Web page uses the OBJECT tag to invoke an HTML document, the document is not loaded =

Article ID: 279422

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 5.5

-



This article was previously published under Q279422



SYMPTOMS
When a Web page uses the  tag to invoke an HTML document, the document is not loaded.



CAUSE
This problem occurs if you are using Internet Explorer 5.5 Service Pack 1 (SP1) and if Microsoft Office 2000 is not installed.



RESOLUTION
To work around this problem, add the type attribute of the  tag to invoke the HTML page within an existing page. For more information, see the workaround code sample in the &quot;More Information&quot; section.



Steps to Reproduce the Behavior
  Create a file named Test.htm, and paste the following code: <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>   

   <OBJECT ID=&quot;global1&quot; HEIGHT=200 WIDTH=400  DATA=&quot;object.htm&quot;></OBJECT> </li> <li> Create a file named Object.htm, and paste the following code: <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <HTML>  <META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;>

</TITLE> </HEAD> <BODY>

<H1>TEST</H1>

</BODY> </HTML> </li> <li>Save Object.htm to the same folder as Test.htm.</li></ol>

Workaround
Add the type attribute to the OBJECT element as follows: <OBJECT ID=&quot;global1&quot; HEIGHT=200 WIDTH=400 type = &quot;Text/html&quot; DATA=&quot;object.htm&quot;></OBJECT> This type attribute specifies the content type for the data that is specified. This attribute is optional but recommended when data is specified because it allows the user agent to avoid loading information for unsupported content types.

<div class="references_section">