Saved Bookmarks
| 1. |
How to make your content editable |
|
Answer» Contenteditable attribute allows the user to edit any of the text contained within the element, including its children. User can edit a simple to-do list and store them using local STORAGE. <!DOCTYPE html> <html lang="en"> <head> <meta CHARSET="utf-8"> <title>untitled</title> </head> <body> <h2> To-Do List </h2> <ul contenteditable="true"> <LI> Break mechanical cab driver. </li> <li> Drive to abandoned factory <li> Watch video of self </li> </ul> </body> </html> |
|