moneybookers



Tuesday, September 28, 2010

Odesk Css test Solution part 2

Odesk Css Test Solution Part 2
Question 21:
The default value for the overflow property is:

  1. Scroll
  2. Visible
  3. Hidden
  4. 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?
  1. @page {width:8.5in;Height:11in; margin:2cm}
  2. @page {width:8.5in x 11in; margin:2cm}
  3. @page {size:8.5in 11in; margin:2cm}
  4. @page {size:8.5in 11in; margin:2cm}


Question 23:

Which of the following is not a valid list property?
  1. List-style-type
  2. List-style-position
  3. List-style-image
  4. 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?

  1. When using css, positioning can be absolute, relative or dynamic
  2. The float Property for text/images can be left, right or center
  3. The values of visibility can be true or False
  4. 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?

  1. When font size is set to 46px. The height of the letter ‘x’ will be 100px
  2. 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:
  1. Family name
  2. Generic Family
  3. 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?

  1. The dimensions of the page area are the dimensions of the page box minus the margin area
  2. The dimensions of the page area are the dimensions of the page box plus the margin area
  3. The dimensions of the page area are the dimensions of the page box and margin area does not affect it.
  4. 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?

  1. Orphans
  2. Widows
  3. Bottom
  4. Overflow
  5. None of the above

Question 31

Which of the following is correct with regard to comments in a style sheet?

  1. Comments can appear outside the style definition only
  2. Comments start with//
  3. Comments end with */
  4. 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?

  1. Vertical-align: super
  2. Vertical-align: superscript
  3. 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?
  1. By using the class attribute in a td cell
  2. By using the id attribute in a td cell
  3. By using the class attribute in any html element which supports the class attribute
  4. 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?

  1. It uses a dot as the separator symbol
  2. It applies the style to only the first element defined with that selector
  3. It applies the style to only the last elements defined with that selector
  4. It applies the style to all the elements defined with that selector

Question 36

Which of the following values are correct for Font-style?

  1. Normal, wider, narrower
  2. Normal , italic, oblique
  3. Normal, bold, lighter
  4. Small , medium , large

Question 37:

How will you link a style sheet names “ssa.css” in your web page?

No comments:

Post a Comment