I want to set a default value for my html <textarea>
. I read from a material that to add default value you have to do something like <textarea>This is default text</textarea>
. I did that but it doesn't work. What's the right thing to do?
Here is my jsFiddle example. this works fine:
<textarea name='awesome'>Default value</textarea>