I was looking around GMail and just found that the Message Composition uses:
- textarea for recipients
- input for subject
- div for the message
I want to focus on the div for the message part. So I did some research and found out to be able to make a div
behave like a textarea
simply do this.
But my question is. Why do it? Why not just use an ordinary textarea? Does it provide any additional security?