Added support for optional HTML5 placeholder attributes for text input and textarea fields.