HTML5 – the tags contenteditable .

By | 11/08/2017

The The contenteditable tag attribute specifies whether the content of an element is editable or not.
The contenteditable attribute is new in HTML5 and when the contenteditable attribute is not set on an element, the element will inherit it from its parent.
The basic example is this (let you to change the text):

Now you can use style to make it more wonderful. See my example from codepen.io account :

Just create one html5 file and add this source of code:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.