创建一个div标签并存储到数据库中并在php,mysql和codeigniter中显示

What I am going to do is Im trying to insert a div tag into database then display it..

for example I'm going to store this code to database and display to my container

<div>
<p> This is the <b>paragraph</b> that i want to display </p>
</div>

I'm planning to build a website that the user can create a paragraph or change the color of the text without using any code. absolutely generated itself.. I don't know Where do I start first..

If you want to insert html in table then use Editor like Tinymce or any other.