asp找错误 大虾来指点(过后补分)

来源:百度知道 编辑:UC知道 时间:2024/06/10 06:07:51
<body>
现在的时间是:<p>
<%= now %><p>

<% for i=3 to 6 %>
<font size=<% i %>>字体大小显示</font>
<% next %>

</body>

的错误在哪? 大虾请指点

<body>
现在的时间是:<p>
<%= now %><p>

<% for i=3 to 6 %>
<font size=<% i %>>字体大小显示</font>
<% next %>

</body>

中<font size=<% i %>>字体大小显示</font>的<% i %>却少=号
应该<%=i%>才正确 =相当于 response.write

i don't know what you said!

<% for i=3 to 6 %>
<font size=<%= i %>>字体大小显示</font>
<% next %>