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.

Advertisements

One thought on “Edit your page content with HTML 5

  1. Ajay singh says:

    Nice web d….vry gud bhai..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s