How to print images and HTML text in the form?