HTML5: Making editable elements

26 / Sep / 2012 by Kapil Chotwani 1 comments

HTML 5 provides some very good features, one of it is EDITABLE Elements.

 

It is very helpful in creating dynamic HTML5 applications, and very simple to use.

 

so lets keep the blog short and sweet and see the code which is as follows
[html]
<h1>Todo List</h1>
<ol contenteditable="true">
<li>Enter contents</li>
</ol>
[/html]
you can see we just did “contenteditable=”true”” and the element is editable. brilliant is’t it!

 

Live Demo(Html5 browser only)

Demo Of this Tag(External Link)


 

Hope it helps!

FOUND THIS USEFUL? SHARE IT

comments (1 “HTML5: Making editable elements”)

Leave a Reply

Your email address will not be published. Required fields are marked *