To embed the Viewer, you must use two HTML elements:
- objects — An object allows you to embed the Viewer in the browser. It also allows you to define the size and borders of the Viewer.
- scripts — The script contains and loads the form. You can also use other scripts to contain data that is used to modify the form, such as XML instances.
The HTML object is a placeholder. In your HTML file, it specifies the location where the object will be displayed in relation to the other elements on the web page. For example, you could place an object inside an HTML table cell:
The script element is not displayed as part of the Web page, so it can be placed anywhere in your HTML code. You may prefer to place scripts directly after the object that they are associated with, or at the beginning or end of the page. In the following example, the script that contains the form is placed immediately after the table with the form's object:
... XFDL form ...
To embed a form inside an HTML page, you must:
Parent topic: Displaying forms in an HTML page