Html Textarea elements only wrap when they reach a space or tab character. This is fine, until the user types a looooooooooooooooooooooong enough word. I\'m looking for a wa
The most elegant way is to use wrap="soft"
for wrapping entire words or wrap="hard"
for wrapping by character or wrap="off"
for not wrapping at all though the last one wrap="off"
is often not needed as automatically the browser uses automatically as if it was wrap="off"
.
EXAMPLE:
<textarea name="tbox" cols="24" rows="4" wrap="soft"></textarea>