Set - 2

Question 21 :

How can you have different number of cells for each row of a table in HTML?

Answer :

using colspan and rowspan


Question 22 :

What variable can you use to share info across the whole application for one user?

Answer :

Use the sessions object


Question 23 :

What is string concatenation function in VBScript?

Answer :

the ampersand symbol and ampersand space underscore across multiple lines


Question 24 :

What is a class in CSS?

Answer :

Answer1
A class allows you to define different style characteristics to the same HTML element.

Answer2
class is a child to the id, id should be used only once, a css class can be used multiple times:
div id="banner"
p class="alert"


Question 25 :

When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

Answer :

SQL Injection, to prevent you probably need to use Stored Procedures instead of inline/incode SQL