If an HTML page containing a Silverlight application is dissected, it can be seen that the application is contained in an object, which is part of the page Document Object Model (DOM). Consequently, an HTML page (or web application) can hold HTML forms, JavaScript code and, in our case, one or more Silverlight components.
Note
A Document Object Model (DOM) is essentially an Application Programming Interface (API), which provides a standard object collection to represent HTML documents, a standard model of how these objects can be combined, and a standard interface to access and handle them. Through DOM, applications can access and modify the content, structure, and style of HTML documents.
An HTML page can suffer alterations both in content and in style. JavaScript is in charge of them. If we had a typical RIA application developed in JavaScript and Ajax, JavaScript could be considered as an HTML page engine, since it is in charge of handling and loading the page elements...