Hello World

<!doctype html>
<html>
  <head>
    <title>Example Page</title>
  </head>
  <body>
<%
  'This is where the ASP code begins
  'ASP will generate the HTML that is passed to the browser
  'A single quote denotes a comment, so these lines are not executed
  'Since this will be HTML, we included the html and body tags
  'for Classic ASP we use Response.Write() to output our text
  'like this
  
  Response.Write ("Hello world")
  
  'Now we will end the ASP block and close our body and html tags
%>
  </body>
</html>

當響應從伺服器傳送到瀏覽器時,輸出將如下所示:

<!doctype html>
<html>
  <head>
    <title>Example Page</title>
  </head>
  <body>
 Hello world
  </body>
</html>