👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

In HTML, how to create a multi-line text input field?

The HTML <textarea> element represents a multi-line plain-text editing control in browser. The following code creates a text area with 4 lines of approximately 33 characters:

<textarea rows="5" cols="33">Default text</textarea>

Depending on you browser, the previous code should display something like: