Pages

Sunday, May 29, 2011

Odesk Css Test Solution

 <strong>do u want to <a href="http://www.social-increaser.com/buy-facebook-likes.html" rel="dofollow">buy facebook likes</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-facebook-likes.html" rel="dofollow">buy facebook likes</a></strong> for all kinds of facebook related  service  !



<strong>do u want to <a href="http://www.social-increaser.com/buy-pinterest-followers-html" rel="dofollow">buy pinterest followers</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-pinterest-followers-html" rel="dofollow">buy pinterest followers</a></strong> for all kinds of pinterest  service !



<strong>do u want to <a href="http://www.social-increaser.com/buy-instagram-followers.html" rel="dofollow">buy instagram followers</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-instagram-followers.html" rel="dofollow">buy instagram followers</a></strong> for all kinds of instagram related  service  !



<strong>do u want to <a href="http://www.social-increaser.com/buy-youtube-views.html" rel="dofollow">buy youtube views</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-youtube-views.html" rel="dofollow">buy youtube views </a></strong> for all kinds of youtube related  service !




<strong>do u want to <a href="http://www.social-increaser.com/buy-soundcloud-plays.html" rel="dofollow">buy soundcloud plays</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-soundcloud-plays.html" rel="dofollow">buy soundcloud plays </a></strong> for all kinds of soundcloud related  service !



<strong>do u want to <a href="http://www.social-increaser.com/buy-twitter-retweet.html" rel="dofollow">buy twitter retweets</a></strong> ?. <strong>check <a href="http://www.social-increaser.com/buy-twitter-retweet.html" rel="dofollow">buy twitter retweets</a></strong> for all kinds of twitter retweet service  !




Odesk Css Test Solution
Question 1:
Which of the following is true for a class selector?

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



Question 2:
Which of the following does not apply to external styles?

1. Clean separation of design & content
2. Minimal code duplication
3. Highest priority
4. Reduces page download time


Question 3:

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?

1. Image bar.gif will be tiled vertically in the background in the center of the page.
2. Image bar.gif will be tiled horizontally in the background in the center of the page
3. Image bar.gif will be displayed in the center of the page
4. Image bar.gif will be stretched in the center of the page


Question 4:
Which of the following is not a valid text-decoration option?

1. Text-decoration :line-through
2. Text-decoration :in-line
3. Text-decoration :overline
4. Text-decoration :underline
5. Text-decoration :none


Question 5:
You defined some links as follows:
A:link{color:green}
A:visited{color:blue}
A:hover{color:red)
A:active{color:black}
What will be the color, when the mouse goes over a link?

1. Green
2. Blue
3. Red
4. Black


Question 6:
The following is a style definition:

Td#aln
{text-align:center;
color:blue}

How will you refer to this style in your web page?

* 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 support the id attribute


Question 7:
Which of the following is not a valid property of an aural style sheet?

1. Cue
2. Voice-family
3. Load
4. Speak


Question 8:
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:

1. Code{margin:1cm}
2. Code{margin-top:1cm; margin-bottom:1cm}
3. P{margin:1cm}
4. P{margin-top:1cm; margin-bottom:1cm}


Question 9:

Text text text text
A Text text
Sentence text text
Inside text text
A text ext
Text text text
Text text
Text text text text

You have and article of 100 lines. If for instance, you want to describe the theme with a few lines inside the text highlighted separately as show in the image which of the following property will you use?

1. Outline
2. Display
3. Float
4. Merge


Question 10:
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?

1. Text-mode
2. Text-transform
3. Text-decoration
4. Text-shadow
5. Text-case


Question: 11;

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?

1. This will display a red border with thin top and bottom
2. This will display a red border with thick top and bottom
3. This will display a red border with thick left and right
4. This will not display any border


Question 12:
Which of the following are correct values of the overflow property?

1. Visible
2. Hidden
3. Scroll
4. Auto



Question 13:
Which of the following is correct?

1. Blockquote{text-padding:2em 4em 5em}
2. Blockquote{padding-x:2em 4em 5em}
3. Blockquote{padding-y:2em 4em 5em}
4. Blockquote{padding:2em 4em 5em}


Question 14:
Which element property is required to define internal styles?

1. Class
2. Style
3. span
4. link


Question 15
Which style property can be used to display only some part of an image?

1. Snap
2. Clip
3. Scroll
4. Visible


Question 16
Which of the following is not true for a style sheet?

1. A style sheet defines how an html element will be displayed
2. Internal and external style sheets can not be used together
3. Multiple style definitions will cascade into one
4. The same style sheet can be used by many html pages


Question 17
Which of the following font properties deals with aspect value?

a. Font-weight
b. Font-variant
c. Font-size-adjust
d. Font-size

Question 18:
Consider this style definition:
P i{color:red}
What do you understand about the contextual selector used above?

1. All the text within a paragraph will be italicized
2. All the italic text in the page will have red color
3. All the page text under
tag and tag will be red
4. All the italic text with in a paragraph will be red



Question 19

Background-position sets the position of the background image what happens if its value is 0% 0%?

1. Image will have zero width and height so it will be hidden.
2. Image will be positioned at the upper left corner.
3. Image will be positioned at the lower right corner
4. None of the above


Question 20
You want to increase the space between the lines in all you paragraphs. What will you use?

1. P{width:1cm}
2. P{height: 1cm}
3. P{line-height:1cm}
4. P{line-width:1cm}
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

2 comments:

  1. Can you please send me all the true answer of this css 36 questions.

    ReplyDelete
  2. Can you please send me all the true answer of this css 36 questions.

    ReplyDelete