Single line input and Textarea are very similar. They are both meant for the respondents to write their answer themselves. The difference between the two is that for single line input, you can also specify what type of text should be filled in:

For both, you can add a character boundary, an error message will show if the given answer is too short or too long.