make content editable html code example Example: div content editable <div contenteditable="true"> This text can be edited by the user. </div>