HTML rendering utility methods refactorization.
Continued working on Form widget.