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