I have made a content managment system and I am using basic input text boxes to input text into my database and allowed html to be read in the reading part of the CMS. So what I am wanting to know how to do is create a button that would insert say a bold tag into my input box. so that when the user is doing an update and wants to make a specific section bold or add a picture he could click on a button like <img src> and that would insert <img src=""> something like that or <b></b> just makes it a bit easier. How would I be able to acheive something like this using buttons?