Could you explain more specifically what you mean by an "Applet"?
I am guessing that your answer is to use the Insert > html code fragment to
insert code snippets into your web page. You can move and resize the code
fragment box just like a text box.