If no display style is specified, what is it by default for a <button>
element? Is it block
or inline-block
?
My Chrome is ambiguous. It says block
and then inline-block
so which one is it?
I'm almost certain it is inline-block, but I'd like to be sure. I couldn't find anything about it in the documentation
Inline block. See the behavior of the button in this snippet in Chrome.
Is the button next to me? <button>Yes</button> Must be inline-block then...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With