题目:用1号到5号字显示“JSP世界”。
我的代码是这样的,请问哪边有错.
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>
Ex2
</title>
</head>
<body bgcolor="#d485d5">
<%! int i;%>
<% for(int i=1;i<=5;i++){%>
<font size=<%=i%>>JSP WORLD!</font><br>
<%}%>
</body>
</html>
我的代码是这样的,请问哪边有错.
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>
Ex2
</title>
</head>
<body bgcolor="#d485d5">
<%! int i;%>
<% for(int i=1;i<=5;i++){%>
<font size=<%=i%>>JSP WORLD!</font><br>
<%}%>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货