examples code for input and textarea