Support using <input>to create input type control

Support using <input>to create input type control, and extract value and
name from tag.