Html 5 contenteditable

Here is a code which shows contenteditable feature in html 5.

List are to display …not for edit…why editable feature is allowed here ? It does not make sense to me.

Presumably the article gives a reason for using this code. Where was it from?

Anyhow, this attribute provides a simple way for people to edit what’s on screen—such as you if you are the site owner, or people who want to edit their comments etc. Obviously you have to be careful who has such privileges. The list example above is just an example of how to make content editable. It’s not a statement about what you should or shouldn’t be able to do with lists in particular.

Ok. but if you really want to edit lists then you should save it to database for later viewing …is not it ? otherwise just editing does not make any sense.

Yes, this is only a small part of the picture. Where is that screen shot you posted from? I’d like to see the whole article.