Include html in lotus agent

I have a form with a HS Button, on click of button (Web Browser view), I am calling an agent. I want to include an html file in that called agent. So that my html content displayed along with output of agent.

Note: as I have lengthy html I am looking for some other solution instead of print “…”

Subject: You can use a page or form for the html

Form would let you display data as fields on the for.