Edit your page content with HTML 5


This is one of the new feature(attrib) of HTML 5 that makes the content of your own webpage editable. You can now edit text on your page just by using attribute “contenteditable” which is in its own way a super awesome feature in HTML 5!!

just go through this code below..


<html>

<head>

<title>

edit content

</title>

</head>

<body>

<p contenteditable=”true”> Edit this text by overwriting any part of it. </p>

</body>

</html>


….open your text editor and try out this piece of code. This is how content on a webpage is made editable.

This feature has also been used by popular social networking sites like Facebook where you can edit your own album name or your own previously saved comment.