>> How to display a piece of HTML on a form?
use a form-field, "Display" type, with "Allow xHTML" turned on.
>> Does it need complete HTML headers?
no, it's not an HTML page, it's an HTML field. So just a simple HTML snippet will be fine.
cheers
Bruce