docs:programming:asp:asp_notes

ASP Notes

<%
response.write("Hello World!")
%>
 
<%
response.write("<h2>You can use HTML tags to format the text!</h2>")
%>
 
<%
response.write("<p style='color:#0000ff'>This text is styled with the style attribute!</p>")
%>
<%
dim name
name="Donald Duck"
response.write("My name is: " & name)
%>
<%
Dim famname(5),i
famname(0) = "Jan Egil"
famname(1) = "Tove"
famname(2) = "Hege"
famname(3) = "Stale"
famname(4) = "Kai Jim"
famname(5) = "Borge"
 
For i = 0 to 5
      response.write(famname(i) & "<br />")
Next
%>
<%
dim i
for i=1 to 6
   response.write("<h" & i & ">Header " & i & "</h" & i & ">")
next
%>
  • docs/programming/asp/asp_notes.txt
  • Last modified: 2008/08/03 00:25
  • by 127.0.0.1