Contenteditable html

23/01/2012 · Reading Time: 2 minutes My absolute favorite HTML5 attribute is "contenteditable".It makes the contents of the element editable. It’s an incredibly simple feature that has tons of potential for your website.In fact, I’ve already seen it paired with localStorage or Web SQL APIs to capture data and create browser-side interactivity. Remove Contenteditable Border. By default, when you write inside an element that has contenteditable set to true, that element gets a border around on focus. However, you can use CSS to remove the border: Step 1) Add HTML: WebKit’s ContentEditable editor was adding loads of “bookkeeping” HTML markup that didn’t change anything visually, but made the editor behave differently. He also points out that WebKit’s ContentEditable implementation has to be able to deal with HTML created by any other CMS, or any other browser’s ContentEditable implementation. # Make a HTML element editable with contenteditable Apply the contenteditable attribute to any HTML element. Voila! You can now edit them similar to how a or