

- 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
Check whether the content of an element is editable or not in HTML
Use the contenteditable attribute in HTML, to set whether the content of an element is editable or not.
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
- How to specify whether the content of an element should be translated or not in HTML?
- Create editable content in an HTML document
- How to set whether an element is draggable or not in HTML?
- Check whether the file is hidden or not in Java
- Check whether the entered value is whitespace or not in Java
- Check whether the Average Character of the String is present or not in Python
- C# Program to Check Whether the Entered Number is an Armstrong Number or Not
- Check whether a character is Uppercase or not in Java
- Check whether a character is Lowercase or not in Java
- Check whether a Stack is empty or not in Java
- Check whether a HashSet is empty or not in Java
- Check whether the entered value is a letter or not in Java
- Check whether the entered value is a digit or not in Java
- Check whether the given number is Euclid Number or not in Python
- Check whether the given number is Wagstaff prime or not in Python
Advertisements