How can you add multiple styles to the one button…this doesn’t work.
<button style="background:red", "cursor:pointer">click me</button>
I have tried:
style="background:red", "cursor:pointer"style="background:red" "cursor:pointer"style="background:red" style="cursor:pointer"
is it possible to combine multiple styles?
You should really use a css class and avoid styling DOM nodes inline:
Even more ideally you’d create a CSS file.
CSS (style.css) :
HTML :