Asp Syntax
# ASP Basic Syntax Rules
* * *
In our ASP tutorial, each example provides hidden ASP source code. This makes it easier for you to understand how they work.
* * *
## Writing Output to the Browser
ASP files usually contain HTML tags, just like HTML files. However, ASP files can also contain server scripts, which are enclosed by the delimiters <% and %>.
Server scripts are **executed on the server** and can contain legal expressions, statements, procedures, or operators of the scripting language you choose.
### response.write Command
The response.write command is used to write output to the browser. The following example sends the text "Hello World" to the browser:
## Example
<%
response.write("Hello World!")
%>
[Try it Β»](
There is also a shorthand method for the response.write command. The following example also sends the text "Hello World" to the browser:
## Example
<%
="Hello World!"
%>
[Try it Β»](
```
YouTip