+ 5
How to center a button
How can I center a button? (A code example would be awesome) https://code.sololearn.com/W5sSHi0puVlR/?ref=app
4 ответов
+ 1
https://code.sololearn.com/WwLB56QJ7503/?ref=app
+ 4
Brains
Thank you!!!
+ 3
166239
Thank you, but Brains already answered excellently. He showed me how to use a <center> tag. Thanks anyway!
+ 2
You can style it with CSS, or use a shorthand attribute on a div tag like this:
<div align=“center”>
<input type=“button” value=“Click Me!”>
</div>