Text area.
Accepts a longer piece of text across multiple lines.
See it in context
What it is
A text area gives writing room for notes, messages, or descriptions. It may grow with content or allow resizing, but should avoid hiding the text being edited.
When to use it
Provide enough visible lines for the expected answer and preserve line breaks.
Know the difference
A rich text editor adds formatting commands; a text area accepts plain multiline text.
Across platforms
Web
Use a labeled native input and its appropriate type, inputmode, and autocomplete hints. Browser presentation and the available autofill UI vary.
iOS · iPadOS · Android
Choose the keyboard and content type for the value being entered. Keep the field visible above the on-screen keyboard and preserve the user’s selection.
macOS · Windows · Linux
Support ordinary keyboard editing, selection, paste, and undo. A desktop field should not depend on a touch-only accessory keyboard.
Go to the source
Primary documentation for the pattern and its platform conventions.