An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
January 17, 2022 04:48 pm GMT
Original Link: https://dev.to/chetansingh63/how-to-make-html-content-editable-4kab
How to make HTML content editable?
Ever wondered? Can we make HTML content editable when it runs on a browser? The answer is YES.
By using contenteditable
attribute we can specify whether the content of an element will be editable or not.
Syntax:<element contenteditable="true or false">
We can give any of two values 'true' or 'false'.
'True' tells that element is editable while 'false' specifies that element is not editable.
Let's see:
This is my first post. I would document my learning journey on this platform and I hope it will prove helpful for beginners as I, too, am a beginner.
HEART IT
Original Link: https://dev.to/chetansingh63/how-to-make-html-content-editable-4kab
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To