ASP Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - ASP

How do you write "Hello World" in ASP


 

 

 

 



A


Solution:-

asp-classic Hello Slight Book World Example:

<!doctype html>
<html>
 <head>
   <title>Example Web Page</title>
 </head>
 <body>
<%
'This is where the ASP code begins 'ASP will generate the HTML that is passed to the browser 'A single quote denotes a comment, so these lines are not executed 'Since this will be HTML, we included the HTML and body tags 'for Classic ASP we use Response.Write() to output our text 'like this Response.Write ("Hello Slightbook World") 'Now we will end the ASP block and close our body and HTML tags
%>
</body>
</html>

When the response is sent from the Server to the Browser the output will be like this:

<!doctype html>
<html>
 <head>
 <title>Example Web Page</title>
 </head>
 <body>
Hello SlightBook World
</body>
</html>

 




Next 5 multiple choice(s)

1

ASP server scripts are surrounded by delimiters, which?

2

What does ASP stand for?

3

What is the correct way to include the file "time.inc" ?

4

Include files must have the file extension ".inc"

5

How do you get information from a form that is submitted using the "get" method?

Comments