1.
Your website displays some articles
on java programming. The articles contain blocks of java code as well. If you
want to leave ‘1 cm’ space above and below the code blocks, you would use:
Answers:- Code{margin-top:1cm; margin-bottom:1cm}
2.
Which of the following are correct
values of the overflow property?
Answers: All Above
Answers: All Above
3.
Which of the
following does not apply to external
styles?
Answers:- Highest priority
4. Which
of the following border styles is not correct?
Answers:- Border-style: ridge
Answers:- Border-style: ridge
5.
Which of the
following is not a valid text-decoration option?
Answers: Text-decoration
:in-line
6.
Which of the
following is not a valid property of an aural style sheet?
Answers:- Load
7.
Which element
property is required to define internal styles?
Answers:- Style
8.
You want to increase
the space between the lines in all you paragraphs. What will you use?
Answers:- P{line-height:1cm}
Answers:- P{line-height:1cm}
9.
You are fetching
customer names from a database. The names in the database are mostly in
lowercase. What is the name of the text property which will facilitate
capitalization of these names?
Answers:- Text-decoration :in-line
10)
Which of the following is true for a
class selector?
Answers: It applies the style to all the
elements defined with that style
11) You
are fetching customer names from a database. The names in the database are
mostly in lowercase. What is the name of the text property which will
facilitate
capitalization of these names?
Answers:- Text-transform
12) Here is one of the styles defined in your webpage:
.redborder
{
border-color:#ff0000;
border-width:thin thick
}
12) Here is one of the styles defined in your webpage:
.redborder
{
border-color:#ff0000;
border-width:thin thick
}
What
type of border will be displayed if one of the paragraphs defined in the
webpage uses this style?
Answers:- This will not display any border
Answers:- This will not display any border
13)
Which
of the following values are correct for Font-style?
Answers:- Small , medium , large
14) Which
style property can be used to display only some part of an image?
Answers:- Scroll
15) The default value for the overflow property is:
Answers: Hidden
16)You want to increase
the space between the lines in all you paragraphs. What will you use?
Answers:- P{line-height:1cm}
17)
Which of the following is not a valid
list property?
Answers:- .List-style-type
18) Which
of the following font properties deals with aspect value?
Answers:- Font-size-adjust
Answers:- Font-size-adjust
19) Which
of the following is not a pseudo class?
Answers: Ins
20) Read the
following Code:
BODY {
Background: white url(“bar.gif”);
Background-repeat: repeat-y;
Background-position: center;
}
What will be the output of this code?
BODY {
Background: white url(“bar.gif”);
Background-repeat: repeat-y;
Background-position: center;
}
What will be the output of this code?
Answers:- Image bar.gif will be
tiled vertically in the background in the center of the page.
21)
Which of the following is true for
an ID selector?
Answers:- It applies the style to only the first element defined
with that selector
22) Which
of the following is correct with regard to comments in a style sheet?
Answers:- Comments end with */
0 comments:
Post a Comment