/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: wrap

[this page | pdf | back links]

The HTML wrap attribute indicates how text in a <textarea> element is to be wrapped when submitted in a form.

 

Valid attribute values (when used with <textarea> elements) include:

 

Value

Description

hard

Text is wrapped (contains newlines) when submitted. The cols attribute must then be specified

soft

(default value). Text is not wrapped when submitted

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile