added additional input tag types and fixed an error in label()