Forms & Controls
wrap="soft"
Allows visual wrapping in a textarea without inserting extra line breaks for the visual wraps during submission. User-entered line breaks still remain, with form serialization normalizing line endings. On textarea; missing or invalid defaults to soft. This concerns submission, not merely CSS white-space or visual wrapping.
Formal Syntax & Structure
html syntaxhtml
wrap="soft"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| wrap | keyword | Allows visual wrapping in a textarea without inserting extra line breaks for the visual wraps during submission. User-entered line breaks still remain, with form serialization normalizing line endings. |
Working Example
Example Snippethtml
<label>Note <textarea cols="12" rows="4" wrap="soft">This is a longer line of text.</textarea></label>