wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Technology(quiz -16)- Narendra Mohan

Total questions: 10

Worksheet time: 7mins

Name
Class
Date
1.

With CSS, a color can be specified by:

a)

a valid color name - like "red"

b)

a HEX value - like "#ff0000"

c)

an RGB value - like "rgb(255,0,0)"

d)

an RGC value - like "rgc(255,0,0)"

2.

Which statements are true for CSS?

a)

CSS describes how HTML elements are to be displayed on screen or in other media

b)

CSS saves a lot of work. It can control the layout of multiple web pages all at once

c)

External stylesheets are stored in CS files

d)

CSS stand for Cascading sheet style

3.

Choose valid statements of CSS

a)

body {

background-color: lightblue;

}

b)

h1 {

color: #222;

text-align: center;

}

c)

p {

fontfamily: verdana;

fontsize: 20px;

}

d)

h1 {

text-color: #222;

textalign: center;

}

4.

Valid statements lists in css are

a)

ul.a {

list-style= "circle";

}

b)

ul.b {

list-style-type: square;

}

c)

ol.c {

list-style-type = "upper-roman";

}

d)

ol.d {

list-style-type: lower-alpha;

}

5.

Choose invalid CSS statements

a)

table {

width: 100%;

}


th {

height: 50px;

}

b)

table {

border= 1px; solid; black;

}

c)

th {

textalign= "left";

}

d)

th, td {

padding: 15px;

text-align: left;

}

6.

The valid links states are

a)

a:link - a normal, unvisited link

a:visited - a link the user has visited

b)

a:hover - a link when the user mouses over it

a:active - a link the moment it is clicked

c)

a:hover - a link when the user mouses over it

a:vis - a link the user has visited

d)

a:unvisited - a normal, unvisited link

a:visit - a link the user has visited

7.

Types of css are.........., ............, ..............

a)

Internal style sheet

b)

External style sheet

c)

Plain style sheet

d)

Inline style sheet

8.

Appropriate statements for vbscript

a)

It is a scripting language.

b)

Case sensitive

c)

Light version of Microsoft's programming language Visual Basic.

d)

It is like Java language

9.

valid codes in vbscript

a)

<script language="vbscript” type="text/vbscript">

Dim var1, var2

var1 == 10; var2 = 20;

Sum == var1 + var2;

document.write("The Sum of two numbers"&_ "var1 and var2 is " & Sum)

</script>

b)

<script language="vbscript” type="text/vbscript">

Dim var1, var2

var1 = 10: var2 = 20

Sum = var1 + var2

document.write("The Sum of two numbers" & "var1 and var2 is " & Sum)

</script>

c)

<script language="vbscript” type="text/vbscript">

Dim var1, var2

var1 := 10;

var2 := 20;

Sum := var1 + var2

document.write("The Sum of two numbers"&_ "var1 and var2 is " & Sum);

</script>

d)

<script language="vbscript” type="text/vbscript">

Dim var1, var2

var1 = 10

var2 = 20

Sum = var1 + var2

document.write("The Sum of two numbers" & "var1 and var2 is " & Sum)

</script>

10.

Ways to include VBScript in HTML file are

a)

Script in <head>...</head> section.

b)

Add Script before <HTML> tag

c)

Script in <body>...</body> and <head>...</head> sections.

d)

Script in an external file and then include in <head>...</head> section.