You can write HTML tags into a textarea... The only problem you could possibly have is with a closing textarea tag ( </textarea> ) and only then if it is used in the default textarea value when the document is parsed... In which case you would need to convert the opening and closing carets to their respective ASCII equivelents ( >
and < ) to compensate for this... BUT WRITING HTML into an already existing textarea would have no affect upon it simply because the textarea has already been parsed and has closed itself properly, not prematurely as a default value which includes a closing textarea tag would do...
However, here is an example of an editable division...
Style it any way you choose, I merely am demonstrating some style...
CODE
<div id="divEditable" contenteditable="true" style="width:400px;height:400px;background:#F2F2F2;border:3px dotted #333333"></div>
.....Willy