Odesk Css Test Solution Part 2
Question 21:
The default value for the overflow property is:
- Scroll
- Visible
- Hidden
- Auto
Question 22:
Which of the following will set the page size to 8.5 inches x 11 inches with 2cm margin al all sides?
- @page {width:8.5in;Height:11in; margin:2cm}
- @page {width:8.5in x 11in; margin:2cm}
- @page {size:8.5in 11in; margin:2cm}
- @page {size:8.5in 11in; margin:2cm}
Question 23:
Which of the following is not a valid list property?
- List-style-type
- List-style-position
- List-style-image
- List-style-align
Question 24:
Which of the following is not a pseudo class?
a. Link
b. Active
c. Lang
d. Ins
Question 25:
Which of the following Statement is correct?
- When using css, positioning can be absolute, relative or dynamic
- The float Property for text/images can be left, right or center
- The values of visibility can be true or False
- The display Property sets how an element is displayed
Question 26:
The Font “Times New Roman” has an aspect value of 0.46 .What do you understand from this?
- When font size is set to 46px. The height of the letter ‘x’ will be 100px
- When font size is set to 100px. The height of the letter ‘x’ will be 46px
Question 27:
The font-family property is used to specify a:
- Family name
- Generic Family
- Family name and /or generic Family
Question 28:
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?
- The dimensions of the page area are the dimensions of the page box minus the margin area
- The dimensions of the page area are the dimensions of the page box plus the margin area
- The dimensions of the page area are the dimensions of the page box and margin area does not affect it.
- None of the above
Question 29:
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
Question 30
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
- Orphans
- Widows
- Bottom
- Overflow
- None of the above
Question 31
Which of the following is correct with regard to comments in a style sheet?
- Comments can appear outside the style definition only
- Comments start with//
- Comments end with */
- Comments are not permitted in a style sheet
Question 32
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
Question 33
How will you display text as a superscript?
- Vertical-align: super
- Vertical-align: superscript
- Vertical-align : top
Question 34
The following is a style definition:
#styl2
{
Color: red;
}
How will you refer to this style in you web pages?
- By using the class attribute in a td cell
- By using the id attribute in a td cell
- By using the class attribute in any html element which supports the class attribute
- By using the id attribute in any html element which supports the id attribute.
Question 35
Which of the following is true for an ID selector?
- It uses a dot as the separator symbol
- It applies the style to only the first element defined with that selector
- It applies the style to only the last elements defined with that selector
- It applies the style to all the elements defined with that selector
Question 36
Which of the following values are correct for Font-style?
- Normal, wider, narrower
- Normal , italic, oblique
- Normal, bold, lighter
- Small , medium , large
Question 37:
How will you link a style sheet names “ssa.css” in your web page?