语法:<%=变量或表达式%>
作用: 向浏览器输出变量的值或表达式计算的结果
<h1>
<h<%=i%>>
<%--
Created by IntelliJ IDEA.
User: ZY
Date: 2021/8/12
Time: 11:39
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<%
for(int i=1;i<=6;i++){
%>
<h<%=i%>>标题<%=i%></h<%=i%>>
<%
}
%>
<%
for(int i=1;i<10;i++){
for (int j=1;j<i+1;j++){
%>
<%=i%>*<%=j%> = <%=(i*j)%>
<%}%>
<br>
<%}%>
</body>
</html>