📄 outtable.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" language="java" %>
<html>
<head>
<title>使用Out对象</title>
</head>
<body><h3>九九乘法口诀表</h3>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" ID="Table1">
<tr bgcolor="#E6E6E6">
<th >1</th>
<th>2</th>
<th >3</th>
<th >4</th>
<th >5</th>
<th >6</th>
<th >7</th>
<th >8</th>
<th >9</th>
</tr>
<%for(int i=1;i<=9;i++){%>
<tr> <%for(int j=1;j<=i;j++){%>
<td bgcolor="#CCCCCC" align="center">
<%=i%>*<%=j%>=<%=i*j%></td>
<%}%>
</tr><%}%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -