I am new to this. I recently started learning HTML/JavaScript/PHP.
I have created a form that a user can type information into and update any changes they have made.
I used the Textarea as the information being requested is quite large. When someone wants to update the information they entered before, a PHP code I wrote displays the information previously written:
<textarea class="datainput" row="4" cols="60"><?php echo $dataInput['data_input'];?></textarea>
All works fine except, the cursor is not in a fixed position at the start when the user first enters the information.
It appears in the middle of the first row of the Textarea.
How do I set the cursor position to the top left corner (start)?