> VB语言在线手册 > 循环输出HTML标题
<!DOCTYPE HTML>
<html>
<body>

<script type="text/vbscript">
For i=1 To 6
 document.write("<h" & i & ">This is header " & i & "</h" & i & ">")
Next
</script>

</body>
</html>
			
上一篇:
下一篇: