From http://www.w3schools.com (Copyright Refsnes Data)
The <object> element can support many different media types, like:
|
You can display a picture:
<object height="100%" width="100%" type="image/jpeg" data="audi.jpeg"> </object> |
You can display a web page:
<object type="text/html" height="100%" width="100%" data="http://www.w3schools.com"> </object> |
You can display a sound:
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="FileName" value="liar.wav" /> </object> |
You can display a video:
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="FileName" value="3d.wmv" /> </object> |
You can display a calendar:
<object width="100%" height="80%" classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02"> <param name="BackColor" value="14544622"> <param name="DayLength" value="1"> </object> |
You can display graphics:
<object width="200" height="200" classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6"> <param name="Line0001" value="setFillColor(255, 0, 255)"> <param name="Line0002" value="Oval(-100, -50, 200, 100, 30)"> </object> |
You can display a flash animation:
<object width="400" height="40" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com /pub/shockwave/cabs/flash/swflash.cab#4,0,0,0"> <param name="SRC" value="bookmark.swf"> <embed src="bookmark.swf" width="400" height="40"></embed> </object> |
Click here to try a fancy flash
From http://www.w3schools.com (Copyright Refsnes Data)