Sunday, 14 July 2013

PHP program for looping through HTML headers with output

<!DOCTYPE html>
<html>
<body>

<%
dim i
for i=1 to 6
   response.write("<h" & i & ">Heading " & i & "</h" & i & ">")
next
%>


</body>
</html>






OUTPUT 


Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

0 comments:

Post a Comment