How to add default value for html <textarea>? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . 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? 回答1: Here is my jsFiddle example. this works fine: <textarea name=