INFO: Using Alternative HTML Within the OBJECT TagID: Q182486
|
Alternative HTML can be specified within an HTML <OBJECT> tag pair. This HTML will be parsed and rendered in the event that the object is not inserted. This is useful for providing additional information and improving the user experience in the event of a code download failure.
The HTML <OBJECT> tag is used to insert an object, such as an ActiveX
control, into a Web page. In the event that the object cannot be installed,
Internet Explorer displays a small icon containing a red cross to indicate
the failure. Aside from authoring, network, or licensing issues preventing
the object from being inserted, the user may have chosen not to download
active content. Alternatively, some browsers do not support the <OBJECT> tag. You can place ordinary HTML between the <OBJECT> and </OBJECT> tags to be displayed in the event that the object is not installed.
Here is an example of using alternative HTML inside an <OBJECT> tag pair:
<OBJECT ID="Control1"
CLASSID="CLSID:nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn">
<B>There was a problem inserting this control</B>
<AHREF="<LINK TYPE="GENERIC" VALUE="http://support.microsoft.com/support/kb/articles/q169/4/38.asp">">http://support.microsoft.com/support/kb/articles/q169/4/38.asp"></LINK>
Click here for troubleshooting information</A>
</OBJECT>
For more information, please see the MSDN Web Workshop:
http://msdn.microsoft.com/workshop/default.asp
Q169438 PRB: ActiveX Control Does Not Display Correctly on Web Page(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mark Davis, Microsoft Corporation.
Additional query words:
Keywords : kbDSupport AXSDKCompDownload AXSDKScripting
Version : WINDOWS:3.0,3.01,3.02,4.0,4.01
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 22, 1999