Accessing an Object's HTML

You can add HTML or script to pictures, media, a text box, or any other object, to modify or control that object. You can enclose the object in HTML tags, or add HTML or script inside the object’s tag.

You can add code before and after a text box’s HTML as described here. To insert code inside a text box, see Inserting HTML in a Text Box.

  1. In Page view, select the object you want to add code to, and click the HTML button on the Properties panel. Or from the Object menu, choose HTML.

The Object HTML dialog appears.

  1. Click the tab to indicate where you want to insert HTML or script.

  1. Enter your code on the tab.

You can click the Insert File button to insert contents of an HTML, script, or other text file. Click the Insert Field button to insert a field. See Managing Variables.

  1. Click OK.

The object is marked with an HTML icon.

Preview the site to test your code, and view the source from your browser to see the resulting HTML. To edit the code, open the Object HTML dialog again, click the tab containing your code, and make changes.