Textarea linhas cols
<textarea rows="4" cols="50">
Successful Sloth
<textarea rows="4" cols="50">
// To set the textarea value, you must insert the TEXT into the element.
<textarea>VALUE</textarea>
// javascript
var textarea = `<textarea>${value}</textarea>`;
document.getElementById('my_textarea_id').textContent = 'foo'
// php
$value = 'foo';
$textarea = "<textarea>$value</textarea>";
echo $textarea;
Check this:
https://codepen.io/DevLorenzo/pen/wvzNPKz