Question 1: Which of the following values are correct for Font-style?
a. Normal, wider, narrower
b. Normal , italic, oblique
c. Normal, bold, lighter
d. Small , medium , large
Ans:D
Question 2: How will you display text as a superscript?
a. Vertical-align: super
b. Vertical-align: superscript
c. Vertical-align : top
Ans:A
Question 3: The following is a style definition: #styl2 { Color: red; } How will you refer to this style in you web pages?
a. By using the class attribute in a td cell
b. By using the id attribute in a td cell
c. By using the class attribute in any html element which supports the class attribute
d. By using the id attribute in any html element which supports the id attribute.
Ans:C
Question 4: Which of the following is true for an ID selector?
a. It uses a dot as the separator symbol
b. It applies the style to only the first element defined with that selector
c. It applies the style to only the last elements defined with that selector
d. It applies the style to all the elements defined with that selector
Ans:B
Question 5: Which of the following border styles is not correct?
a. Border-style: ridge
b. Border-style : outset
c. Border-style : dotted
d. Border – style : matted
Ans:A
Question 6: Which of the following is correct with regard to comments in a style sheet?
a. Comments can appear outside the style definition only
b. Comments start with//
c. Comments end with */
d. Comments are not permitted in a style sheet
Ans:C
Question 7: Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
a. Orphans
b. Widows
c. Bottom
d. Overflow
e. None of the above
Ans:E
Question 8: Which of the following is not a correct keyword value for the display property?
a. Expended
b. Inline-table
c. Table-row
d. Table-column-group
Ans:D
Question 9: Paged media differ from continuous media in that the content of the document is divided into one or more pages. When you set the dimensions, which of the following will be applied?
a. The dimensions of the page area are the dimensions of the page box minus the margin area
b. The dimensions of the page area are the dimensions of the page box plus the margin area
c. The dimensions of the page area are the dimensions of the page box and margin area does not affect it.
d. None of the above
Ans:D
Question 10: The font-family property is used to specify a:
a. Family name
b. Generic Family
c. Family name and /or generic Family
Ans:A
Question 11: The Font “Times New Roman” has an aspect value of 0.46 .What do you understand from this?
a. When font size is set to 46px. The height of the letter „x‟ will be 100px
b. When font size is set to 100px. The height of the letter „x‟ will be 46px
Ans:A
Question 12: Which of the following is not a valid list property?
a. List-style-type
b. List-style-position
c. List-style-image
d. List-style-align
Ans:A
Question 13: Which of the following is not a pseudo class?
a. Link
b. Active
c. Lang
d. Ins
Ans:D
Question 14: Which of the following Statement is correct?
a. When using css, positioning can be absolute, relative or dynamic
b. The float Property for text/images can be left, right or center
c. The values of visibility can be true or False
d. The display Property sets how an element is displayed
Ans:B
Question 15: Which of the following will set the page size to 8.5 inches x 11 inches with 2cm margin al all sides?
a. @page {width:8.5in;Height:11in; margin:2cm}
b. @page {width:8.5in x 11in; margin:2cm}
c. @page {size:8.5in 11in; margin:2cm}
d. @page {size:8.5in 11in; margin:2cm}
Ans:B
Question 16: You want to increase the space between the lines in all you paragraphs. What will you use?
a. P{width:1cm}
b. P{height: 1cm}
c. P{line-height:1cm}
d. P{line-width:1cm}
Ans: C
Question 21: The default value for the overflow property is:
a. Scroll
b. Visible
c. Hidden
d. Auto
Ans: C*
a. Normal, wider, narrower
b. Normal , italic, oblique
c. Normal, bold, lighter
d. Small , medium , large
Ans:D
Question 2: How will you display text as a superscript?
a. Vertical-align: super
b. Vertical-align: superscript
c. Vertical-align : top
Ans:A
Question 3: The following is a style definition: #styl2 { Color: red; } How will you refer to this style in you web pages?
a. By using the class attribute in a td cell
b. By using the id attribute in a td cell
c. By using the class attribute in any html element which supports the class attribute
d. By using the id attribute in any html element which supports the id attribute.
Ans:C
Question 4: Which of the following is true for an ID selector?
a. It uses a dot as the separator symbol
b. It applies the style to only the first element defined with that selector
c. It applies the style to only the last elements defined with that selector
d. It applies the style to all the elements defined with that selector
Ans:B
Question 5: Which of the following border styles is not correct?
a. Border-style: ridge
b. Border-style : outset
c. Border-style : dotted
d. Border – style : matted
Ans:A
Question 6: Which of the following is correct with regard to comments in a style sheet?
a. Comments can appear outside the style definition only
b. Comments start with//
c. Comments end with */
d. Comments are not permitted in a style sheet
Ans:C
Question 7: Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
a. Orphans
b. Widows
c. Bottom
d. Overflow
e. None of the above
Ans:E
Question 8: Which of the following is not a correct keyword value for the display property?
a. Expended
b. Inline-table
c. Table-row
d. Table-column-group
Ans:D
Question 9: Paged media differ from continuous media in that the content of the document is divided into one or more pages. When you set the dimensions, which of the following will be applied?
a. The dimensions of the page area are the dimensions of the page box minus the margin area
b. The dimensions of the page area are the dimensions of the page box plus the margin area
c. The dimensions of the page area are the dimensions of the page box and margin area does not affect it.
d. None of the above
Ans:D
Question 10: The font-family property is used to specify a:
a. Family name
b. Generic Family
c. Family name and /or generic Family
Ans:A
Question 11: The Font “Times New Roman” has an aspect value of 0.46 .What do you understand from this?
a. When font size is set to 46px. The height of the letter „x‟ will be 100px
b. When font size is set to 100px. The height of the letter „x‟ will be 46px
Ans:A
Question 12: Which of the following is not a valid list property?
a. List-style-type
b. List-style-position
c. List-style-image
d. List-style-align
Ans:A
Question 13: Which of the following is not a pseudo class?
a. Link
b. Active
c. Lang
d. Ins
Ans:D
Question 14: Which of the following Statement is correct?
a. When using css, positioning can be absolute, relative or dynamic
b. The float Property for text/images can be left, right or center
c. The values of visibility can be true or False
d. The display Property sets how an element is displayed
Ans:B
Question 15: Which of the following will set the page size to 8.5 inches x 11 inches with 2cm margin al all sides?
a. @page {width:8.5in;Height:11in; margin:2cm}
b. @page {width:8.5in x 11in; margin:2cm}
c. @page {size:8.5in 11in; margin:2cm}
d. @page {size:8.5in 11in; margin:2cm}
Ans:B
Question 16: You want to increase the space between the lines in all you paragraphs. What will you use?
a. P{width:1cm}
b. P{height: 1cm}
c. P{line-height:1cm}
d. P{line-width:1cm}
Ans: C
Question 21: The default value for the overflow property is:
a. Scroll
b. Visible
c. Hidden
d. Auto
Ans: C*
No comments:
Post a Comment