I want to do the following with "value":
<textarea type="text" name="message"rows="10" cols="10" value="hi there"></textarea></p>
thx
<textarea type="text" name="message"rows="10" cols="10">Hi there</textarea>
Don't use the 'value' attribute, put the text in the element (ie there is no 'value' attribute for this HTML element, AFAICR)
<textarea type="text" name="message"rows="10" cols="10">hi there</textarea>
Add text between the textarea
tags as follows:
<textarea>My placeholder Value</textarea>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.