I have a Button which I have to change it's color, size and name.
I'm using <button contenteditable="true">
attribute.
In the below example I can edit the text content which is the name of the button but I cannot change it's style,
<button contenteditable="true">This is editable</button>
is there any way that i can change it's style as well??
You doesn't change styles of an element just by using a contenteditable. contenteditable is used to modify/edit only the text.