CSS/Css Mcq Set 9 Sample Test,Sample questions

Question:
 border-bottom-style property defines the style for the bottom border of an element.

1. TRUE

2. FALSE

3.Can be true or false

4.Can not say


Question:
 column-rule-style property defines the width of a rule between columns in a multicolumn text flow?

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
 In Absolute position, If there is no parent element, these elements are set to be _______ to the page.

1.absolute

2.static

3.fixed

4.relative


Question:
 Setting the position to relative makes the element appear on bottom of any other static element in its area.

1.TRUE

2. FALSE

3.Can be true or false

4.Can not say


Question:
 The box model allows us to add a border around elements, and to define space between elements. 

1.TRUE

2.FALSE

3.Can be true or false

4. Can not say


Question:
A similar rule called the ____________ is specified using the plus sign (+) and is used to select elements that would be siblings of each other.

1.class selectors

2.adjacent-sibling selector

3.attribute selectors

4.None of the above


Question:
An id is not always unique within the page so it is chosen to select a single, unique element.

1.TRUE

2. FALSE

3. Can be true or false

4. Can not say


Question:
Class name can be started with a number?

1.Yes

2.No

3.Depends on class

4.Depends on element


Question:
How many different types of selectors in CSS?

1. 3

2. 4

3. 5

4.6


Question:
How many types of position values are there in CSS?

1.2

2.3

3.4

4.5


Question:
Id written with the ?

1. .

2.$

3.@

4. #


Question:
Positioning attributes top, bottom, left and right are used to determine the exact location

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
Reverse CSS Property specifies the top offset of a positioned element.

1.TRUE

2.FALSE

3.Can be true or false

4. Can not say


Question:
The content of the box, where text and images appear.

1. TRUE

2.FALSE

3.Can be true or false

4. Can not say


Question:
The default for any page element is?

1.Fixed

2.relative

3.absolute

4. Static


Question:
The universal selector is used as a ?

1.Wildcard Character

2.Page Character

3.Commas character

4.None of the above


Question:
When you set the width and height properties of an element with CSS, you just set the width and height of the?

1. Padding

2.Margin

3.content

4.borders.


Question:
Which part of box model clears an area around the content?

1.Padding

2.Border

3.Margin

4.None of the above


Question:
Which part of box model is transparent?

1.Padding

2. Margin

3. Border

4.both a and b


Question:
______ are used to separate each selector in grouping.

1. #

2..

3. ,

4. :


Question:
______ selects the HTML element by name.

1.element selector

2.Class Selector

3.Universal Selector

4.Group Selector


More MCQS

  1. CSS MCQ Questions & Answers Part 1
  2. CSS MCQ Questions & Answers Part 2
  3. CSS MCQ Questions & Answers Part 3
  4. CSS Mcq Questions
  5. CSS mcqs Part 1
  6. CSS mcqs Part 2
  7. CSS mcqs Part 3
  8. Css Mcq Set 1
  9. Css Mcq Set 2
  10. Css Mcq Set 3
  11. Css Mcq Set 4
  12. Css Mcq Set 5
  13. Css Mcq Set 6
  14. Css Mcq Set 7
  15. Css Mcq Set 8
  16. Css Mcq Set 9
  17. CSS Multiple-Choice Questions
  18. CSS MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!