<CENTER>
<button onclick="document.all.editor.focus(); document.execCommand('Bold')" style="font-weight:bold; width:22; height:22;">B</button>
<button onclick="document.all.editor.focus(); document.execCommand('italic')" style="font-STYLE: italic; width:22; height:22;">I</button>
<button onclick="document.all.editor.focus(); document.execCommand('underline')" style="text-decoration:underline; width:22; height:22;">U</button>
<button onclick="document.all.editor.focus(); document.execCommand('Createlink',true)" style="text-decoration:underline; color:blue; width:22; height:22;">K</button> <BR>
<div id="editor" contenteditable="true" style="height:200px; width:200px; border:1 solid black; overflow: scroll;">test</div>
</center>