You can make the text inside any HTML element editable by adding the
<div contenteditable> Hey, I'm like a textarea kinda now! </div>
I wouldn't say there are wheelbarrows full of use-cases for that, but it's neat. One possible use might be an in-progress design in which editing the content from the design itself is useful either for you, or for someone else (a client?) who needs to change the text.
contenteditable. Now someone can … Read article