You can use the contenteditable attribute to allow users to edit an element's content. You can then use JavaScript or the WebStorage API to save the user's changes.
<p contenteditable="true">Beckenbauer is the best soccer player of all time.</p>
Beckenbauer is the best soccer player of all time.