What can I use instead of textarea in HTML?
Use, <div> with contenteditable attribute.
How to take input from textarea in HTML?
The <textarea> tag defines a multi-line text input control. The <textarea> element is often used in a form, to collect user inputs like comments or reviews. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier).