Back
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?
Try using this code:
<textarea name='awesome'>Default value</textarea>
For more information, you can refer to this:
http://jsfiddle.net/8DzCE/1/
31k questions
32.8k answers
501 comments
693 users