Create a
div tag inside the
form tag of your .aspx file and put all the code written inside the
form tag inside this
div tag. Now set it's
contenteditable property to true.
Code example:
<div id="divMain" contenteditable="true">This text can be edited.<br/>
<span id="spanBody">This text is written in span. It can also be edited</span>
</div>
Hope this helps you.