In a very simple HTML form I’ve created, I’ve asked the user to provide additional details and have coded this section as:
<textarea rows="1" cols="50" wrap="physical" name="comments">
</textarea>
Any idea why the cursor starts off at the middle of this box? Well, it’s not directly at the middle, but it’s definitely not at the start (top left) corner of the box. I see a lot of solutions here and they all require Javascript to correct this. Is there a way to do this with just html?
What happens when you change it to:
I think it’s not starting at the beginning because you’ve got whitespace inside the tag.