+ 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>

14th Apr 2018, 5:36 AM
Jewel Rana
Jewel Rana - avatar
1 Resposta
+ 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
21st Apr 2018, 1:01 PM
Derek Stockton
Derek Stockton - avatar