Menu
Forms & Inputs

<textarea> Multi-line Input

Free-form multi-line text input.

1Long-form Text

Set rows and cols (or use CSS) to control size. The default text goes between the tags — not in a value attribute.

Example Code
<label for="msg">Message</label>
<textarea
  id="msg"
  name="message"
  rows="5"
  cols="40"
  maxlength="500"
  placeholder="Tell us more..."
></textarea>

Finished reading?

Mark this topic as complete to track progress.