Font size
WorksheetsWeb Technology(quiz -16)- Narendra Mohan
Total questions: 10
Worksheet time: 7mins
With CSS, a color can be specified by:
a valid color name - like "red"
a HEX value - like "#ff0000"
an RGB value - like "rgb(255,0,0)"
an RGC value - like "rgc(255,0,0)"
Which statements are true for CSS?
CSS describes how HTML elements are to be displayed on screen or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CS files
CSS stand for Cascading sheet style
Choose valid statements of CSS
body {
background-color: lightblue;
}
h1 {
color: #222;
text-align: center;
}
p {
fontfamily: verdana;
fontsize: 20px;
}
h1 {
text-color: #222;
textalign: center;
}
Valid statements lists in css are
ul.a {
list-style= "circle";
}
ul.b {
list-style-type: square;
}
ol.c {
list-style-type = "upper-roman";
}
ol.d {
list-style-type: lower-alpha;
}
Choose invalid CSS statements
table {
width: 100%;
}
th {
height: 50px;
}
table {
border= 1px; solid; black;
}
th {
textalign= "left";
}
th, td {
padding: 15px;
text-align: left;
}
The valid links states are
a:link - a normal, unvisited link
a:visited - a link the user has visited
a:hover - a link when the user mouses over it
a:active - a link the moment it is clicked
a:hover - a link when the user mouses over it
a:vis - a link the user has visited
a:unvisited - a normal, unvisited link
a:visit - a link the user has visited
Types of css are.........., ............, ..............
Internal style sheet
External style sheet
Plain style sheet
Inline style sheet
Appropriate statements for vbscript
It is a scripting language.
Case sensitive
Light version of Microsoft's programming language Visual Basic.
It is like Java language
valid codes in vbscript
<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>
<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>
<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>
<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>
Ways to include VBScript in HTML file are
Script in <head>...</head> section.
Add Script before <HTML> tag
Script in <body>...</body> and <head>...</head> sections.
Script in an external file and then include in <head>...</head> section.
