HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to Classic ASPVariablesStringsConditions (If / Select Case)Loops (For / Do While)Form and Request
REFERENCE
📖 Overview
🖥️ Output
Response.Write<%= %> (short syntax)
📦 Variables
✍️ Text & Number
🔁 Condition & Loop
🧩 Functions & Forms
Classic ASP›REFERENCE›Output
🖥️

Output

Printing to the page.

CommandDescription
Response.WriteWrites to the browser (HTML).
<%= %> (short syntax)Shorthand for Response.Write.

Response.Write

Try it yourself →

Writes to the browser (HTML).

Syntax

Response.Write text

Description

ASP runs on the server and sends the output to the browser. You write text/values to the page using Response.Write. Code is written between <% %> tags.

Example

<%
Response.Write "Hello World"
%>

Expected output

Hello World

When to use?

Generating dynamic HTML.

<%= %> (short syntax)

Try it yourself →

Shorthand for Response.Write.

Syntax

<%= expression %>

Description

Used to quickly print values inside HTML using <%= deger %>.

Example

<% Dim name : name = "Alex" %>
<p>Hello <%= name %></p>

Expected output

<p>Hello Alex</p>

When to use?

Embedding values in HTML templates.

HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code