added HTML5 attributes min,max,required