ASP Multiple choices


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

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


 

 

 

 



C


Solution:-

How to Use the #include Directive
Here is a file called "myslightbookpage.asp":

<!DOCTYPE html>
<html>
<body>
<h3>Words of Slight Book:</h3>
<p><!--#include file="slightbook.inc"--></p>
<h3>The time is:</h3>
<p><!--#include file="slighttime.inc"--></p>
</body>
</html>

Here is the "slightbook.inc" file:

"Launched in 2016, SlightBook is unique in its stream-based approach to search interview questions content. Virtually all of our contributed articles come from real online experts, both independent and in-house."

Here is the "slighttime.inc" file:

<%
Response.Write(Time)
%>

If you look at the source code in a browser, it will look something like this:

<!DOCTYPE html>
<html>
<body>
<h3>Words of Slight Book:</h3>
<p>"Launched in 2016, SlightBook is unique in its stream-based approach to search interview questions content. Virtually all of our contributed articles come from real online experts, both independent and in-house."</p>
<h3>The time is:</h3>
<p>11:59:59 AM</p>
</body>
</html>

 




Next 2 multiple choice(s)

1

Include files must have the file extension ".inc"

2

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

Comments