+ 7
What is difference between 'hard' and 'soft', value of "wrap" attribute of <textarea> tag.....?
<form action="#"> <textarea rows="2" cols="20" name="usrtxt" wrap="hard/soft"> Ans me plz........... </textarea> <input type="submit"> </form>
1 Odpowiedź
+ 4
<textarea wrap="soft|hard">
- Soft
The text in the textarea is not wrapped when submitted in a form. This is default
- Hard
The text in the textarea is wrapped (contains newlines) when submitted in a form. When "hard" is used, the cols attribute must be specified