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.
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.
Click the tab to indicate where you want to insert HTML or script.
before. Adds code just before the object’s tag, as in your_code <IMG SRC=>, if the object is a picture.
inside. Adds code inside the object’s tag, as in <IMG SRC="Image.gif" attribute>, where attribute is your code. This tab appears only if you can add something inside the object’s tag.
after. Adds code just after the object’s tag; for example, to insert a closing HTML tag for any opening tag inserted before the object.
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.
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.