Text Area Question

Hello,

How can you create a text area that automatically enters <br> for a line break when the user presses the “enter” key when typing in the text area.

And also, how can you allow a user to insert objects into the text area sort of like this forum when you click on bold.

Thanks!