Loop: For ... Next
You can write a loop using For ... Next. For example;
<html>
<body>
<% for a = 1 to 5 %>
<font size= <% = a %> > Welcome </font> <br>
<% next %>
</body>
</html>
It will be executed by the server and convert into this html code;
<html>
<body>
<font size= 1 > Welcome </font> <br>
<font size= 2 > Welcome </font> <br>
<font size= 3 > Welcome </font> <br>
<font size= 4 > Welcome </font> <br>
<font size= 5 > Welcome </font> <br>
</body>
</html>
|