How to make a page's content editable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a page's content editable

7th Apr 2023, 2:53 PM
Tahsin
Tahsin - avatar
2 Answers
+ 6
You can set the HTML5 contenteditable attribute with the value true (i.e. contentEditable="true" ) to make an element editable in HTML, such as <div> or <p> element
7th Apr 2023, 4:07 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
8th Apr 2023, 3:16 AM
Tahsin
Tahsin - avatar