This HTML document illustrates embedding a locally installed OLE Control (the WebImage sample's wimg.ocx) into a page. This control displays a 24-bit bitmap on the page. Click "Source" on the "View" menu of the browser to see the source for the entire page.
<HR>
<! ----- The Object tag is used to embed an OLE Control ----- >
<! ----- The Image location can be a local file or http:// address ----- >
<CENTER>
<OBJECT
CLASSID="clsid:bd11a280-2e73-11cf-b6cf-00aa00a74daf"
HEIGHT=234
WIDTH=312
CODEBASE="wimg.cab">
<PARAM NAME="Image" VALUE="..\wininet24.bmp">
</OBJECT>
</CENTER>
<HR>