

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Create editable content in an HTML document
Use the contenteditable attribute, to make the content of an element editable.
Example
You can try to run the following code to learn how to implement contenteditable attribute in HTML. Keep the cursor in the editable content and you will be able to edit it.
<!DOCTYPE html> <html> <body> <p contenteditable = "true">This content is editable. Try to edit it.</p> <p>This is a normal content. It won't edit.</p> </body> </html>
- Related Questions & Answers
- Check whether the content of an element is editable or not in HTML
- How to create an HTML Document?
- Create HTML Document with Custom URL for the document in JavaScript
- Include meta data in an HTML document
- HTML content Attribute
- How to create a section in a document in HTML?
- How can we implement an editable JLabel in Java?
- How to indicate long quotations in an HTML document?
- Including an external stylesheet file in your HTML document
- How to create a hyperlink to link another document in HTML?
- How do we include a section in an HTML document?
- What are the essential tags for an HTML Document?
- How to add CSS rules into an HTML document
- Create an ordered list in HTML
- Create an option group in HTML
Advertisements