Metode Tulis ASP
Referensi Objek Respons Lengkap
Metode Write menulis string tertentu ke output.
Sintaksis
Response.Write variant
Parameter | Description |
---|---|
variant | Required. The data to write |
Contoh
Contoh 1
<%
Response.Write "Hello World"
%>
Output:
Hello World
Contoh 2
<%
name="John"
Response.Write(name)
%>
Output:
John
Contoh 3
<%
Response.Write("Hello<br>World")
%>
Output:
Hello
World
Referensi Objek Respons Lengkap