|
ASP Basics
ASP code is added like scripts to HTML. You open an ASP script
using the tag
<%
and close it using the reverse:
%>
Therefore in a HTML page it would look like:
<html>
<head>
<title>Example script</title>
</head>
<body>
<%
' here is some ASP script
%>
</body>
</head>
Notice the use of a comment in the script:
<%
' This is an ASP comment
' Here is another
%>
|