实例说明:
<!DOCTYPE html> <html> <body> <% dim i for i=1 to 6 response.write("<h" & i & ">Heading " & i & "</h" & i & ">") next %> </body> </html>
标签含义:
循环生成 HTML 标题:本例演示如何循环生成 6 个不同的 HTML 标题。
源代码运行结果如下:
相关文章
标签:asp
<!DOCTYPE html> <html> <body> <% dim i for i=1 to 6 response.write("<h" & i & ">Heading " & i & "</h" & i & ">") next %> </body> </html>
循环生成 HTML 标题:本例演示如何循环生成 6 个不同的 HTML 标题。