wrap

Specifies how the text in a text area is to be wrapped when submitted in a form. The property takes two values; "soft" or "hard".

When set to "soft" no extra wrapping is done. Only line breaks inserted by the user are send to the server.

When set to "hard" the text will be "word wrapped" (that is, wrapped at the nearest word boundary before the maximum line length) by using the value of the cols property as the maximum line length.

Note: this property affects how the text is formatted for submission to the server. It has no effect on how the text is displayed in the browser.

Default value

soft - no wrapping is done

Valid values

soft or hard.