2.3.1.54 wrap

wrap of type DOMString

Sets or retrieves how to handle word wrapping in the object.

Possible values are:

  • soft – Default. Text is displayed wrapped and submitted without CR/LF characters.

  • hard – Text is displayed wrapped and submitted with CR/LF characters.

  • off – Word wrapping is disabled. The lines appear exactly as the user types them.

This attribute extends the HTMLTextAreaElement interface.

Show: