Use things like TinyMCE, it as all the things you need and manymore. It will make you textarea a full richtext editor. You can't do it as is without any javascript. You can use another editor.
To get styled texte from you database, you need to save the text with the formatting before restoring it.