Second installment of HTML5 attributes for forms

More conversions and some cleanups.