html之如何让button按钮居中

解决措施:使用center或者div的align属性 示例代码:javascript <html> <body> <center><button onClick="clickme()">hit me</button></center> <script> function clickme(){ alert("123"); } </script> </body> </html> 或者
相关文章
相关标签/搜索