generates HTML form elements.