<button>标签中,加入样式代码:style="width: 50px;height: 20px;" <button style="width: 50px;height: 20px;">按钮</button> 参考:html5中怎么设置按钮的宽度和高度_百度知道