<%@ Language="VBScript" CodePage = 65001 %>
<%
Option Explicit
Response.Charset = "UTF-8"
Response.CodePage = 65001
%>
<!doctype html>
<html>
<head>
<title>My First Classic ASP Page</title>
</head>
<body>
<%="Hello World"%>
</body>
</html>
This is a very basic example of a Classic ASP page that returns the phrase "Hello World" to the browser along with the rest of the standard HTML. The HTML portions are static, i.e. the server will send them to the browser as-is. The parts delimited by <% %>
are what the server will actually process before sending it to the client.
Note that the <%="stuff"%>
syntax is shorthand for <%Response.Write "stuff"%>
.