code_junkie

How to include Silverlight on HTML page with object tag

Nov 14th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <head>
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
  6. <title>Test Silverlight Page</title>
  7. </head>
  8.  
  9. <body>
  10.  
  11. <object id="SilverlightPlugin1" width="300" height="300"
  12. data="data:application/x-silverlight-2,"
  13. type="application/x-silverlight-2" >
  14. <param name="source" value="MultiplePages.xap"/>
  15.  
  16. <!-- Display installation image. -->
  17. <a href="http://go.microsoft.com/fwlink/?LinkID=124807"
  18. style="text-decoration: none;">
  19. <img src="http://go.microsoft.com/fwlink/?LinkId=108181"
  20. alt="Get Microsoft Silverlight"
  21. style="border-style: none"/>
  22. </a>
  23. </object>
  24. </body>
  25. </html>
Add Comment
Please, Sign In to add comment