以下是一个简单的JSP页面实例,展示如何设置按钮的字体样式。
1. 创建JSP文件
创建一个名为 `buttonFontStyle.jsp` 的JSP文件。

2. 编写HTML代码
在JSP文件中,编写以下HTML代码:
```html
.button-style {
padding: 10px 20px;
font-size: 16px;
color: fff;
background-color: 007bff;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: Arial, sans-serif;
}
Simple Button with Font Style







