Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. User Interactions > Hack 49. Make Any Element on Your Page User-Customizable...

Hack 49. Make Any Element on Your Page User-Customizable with Editable Content

User input used to be limited to form elements such as inputs and text areas, but with HTML5’s Editable Content feature, any element of your page can become editable. Use this feature to allow users to customize their pages.

HTML5 opens the door for ultimate customization for our users. One of the new features that make this especially easy is Editable Content. It might also be one of the simplest features to implement.

In this hack we want to allow our users to customize their page content—personalize their page, if you will. To make this possible we will make the main content of the page editable content. Let’s look at our markup:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint