CSS/Css Mcq Set 4 Sample Test,Sample questions

Question:
 Find the specificity of this “li.red.leve”.

1.specificity = 2,0,0,1

2. specificity = 0,0,1,1

3.specificity = 0,2,0,1

4.specificity = 0,0,2,1


Question:
 How a style sheet can be glued to the HTML document?

1. Import a style sheet using the CSS @import notation.

2. Apply the basic, document-wide style sheet for the document by using the style element

3.Link an external style sheet to the document using the link element

4.all of the mentioned


Question:
 The _______ property specifies whether or not an element should be resizable by the user.

1. Outline Offset

2.Resize

3.Unit

4.none of the mentioned


Question:
 The __________ specifies style sheets for a source document according to the conventions of the document language. For instance, in HTML, style sheets may be included in the document or linked externally.

1.author

2. user

3.user-agent

4.none of the mentioned


Question:
 The _____________ property allows us to include the padding and border in an element’s total width and height.

1.margin

2.box-sizing

3.padding

4. None of the mentioned


Question:
 Which of the following defined as alphanumeric names that correspond to some current counter value in a document?

1. Class

2. Key

3.Counters

4.none of the mentioned


Question:
 Which of the following is the Color Format that is a defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them.

1.HSLa Color

2.HSL Color

3.RGBa Color

4. RGB Color


Question:
As a general rule, properties in CSS inherit from ____ elements

1.child to parent

2.parent to child

3.grandparents to parents

4.none of the mentioned


Question:
Choose the CSS property which specifies the placement of a table caption.

1.table-caption

2.cell-caption

3. caption-side

4.caption-adjust


Question:
CSS3 _____ let you display smooth transitions between two or more specified colors

1. Float

2.Align

3.Gradients

4. color


Question:
Each property may also have a cascaded value of ___________ which means that, for a given element, the property takes the same specified value as the property for the element’s parent.

1. !important

2.delay

3.inherit

4. important


Question:
Find the specificity of this “#x34y”.

1.specificity = 0,0,0,1

2.specificity = 0,0,1,0

3.specificity = 0,1,0,0

4. specificity = 1,0,0,0


Question:
Find the specificity of this ” style=”” “.

1.specificity = 0,0,0,1

2.specificity = 0,0,1,0

3. specificity = 0,1,0,0

4.specificity = 1,0,0,0


Question:
Identify the CSS property that specifies the length of the space used for the tab character.

1.size

2.tab-size

3.tab-space

4.all of the mentioned


Question:
If a particular rule should never be overridden by another rule, the ______ indication should be used.

1.@important

2.!important!

3.!important

4.important!


Question:
The ______ is the link between the HTML document and the style. It specifies what elements are affected by the declaration.

1.Tag

2.Selector

3.Declaration

4.Class


Question:
The __________ may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet.

1.author

2.user

3.user-agent

4.none of the mentioned


Question:
The ___________ property specifies if/how an element is displayed.

1.background-color

2.border

3.color

4.Display


Question:
The _____________ property specifies the background color of an element.

1. background-color

2.border

3.color

4.Display


Question:
Which of the following CSS property can be used to provide the flex-direction and flex-wrap properties

1.flex

2.flex-flow

3. flex-wrap

4.all of the mentioned


Question:
Which of the following elements are block and inline elements, respectively, that have no particular rendering?

1.div

2. span

3.box-model

4.both div and span


Question:
Which of the following is an appropriate value for overflow element?

1.hidden

2.auto

3.scroll

4.all of the mentioned


Question:
Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML?

1.Specification defined named colors

2.System Color Names

3.6-Hex Color

4.3-Hex Color


Question:
Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

1.HSLa Color

2.HSL Color

3.RGBa Color

4. RGB Color


Question:
Which of the following measurement defines a measurement in centimeters?

1. c

2.cm

3.centi

4.centimeter


Question:
Which of the following option a declaration consist of?

1.Tag

2.Property

3.Selector

4.Class


Question:
Which of the following option a rule consists of?

1. Tag

2.Selector

3.Declaration

4.Both Selector and Declaration


Question:
Which of the following property aligns the flexible container’s items when the items do not use all available space on the main-axis?

1.wrap-content

2. fix-content

3. adjust-content

4. justify-content


Question:
Which of the following property allows long words to be able to be broken and wrap onto the next line?

1. line-wrap

2.break-word

3.word-wrap

4.word-break


Question:
Which of the following property allows the text direction to be overridden to support multiple languages and text flow directions in the same document?

1.unicode-bidi

2.visibility

3.top

4.vertical-align


Question:
Which of the following property controls how spaces, tabs, and newline characters are handled in an element?

1. space

2. display

3.widows

4. white-space


Question:
Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?

1. scrollbar-base-color

2.scrollbar-arrow-color

3.scrollbar-darkshadow-color

4.scrollbar-face-color


Question:
Which of the following property defines the minimum number of lines in a paragraph to be left at the top of a page?

1.white-space

2.widows

3.display

4.width


Question:
Which of the following property defines the offset from an element’s border and its outline?

1. outline-radius

2.opacity

3.outline-offset

4. overflow-style


Question:
Which of the following property defines the text alignment rules on the alignment of the last line of an element?

1. text-justify

2. text-fill-color

3.text-align-last

4.none of the mentioned


Question:
Which of the following property determines whether or not an element is visible?

1.display

2.visibility

3. transperancy

4.disappear


Question:
Which of the following property is used to set the color of the arrow icon within a scroll bar?

1. scrollbar-base-color

2.scrollbar-arrow-color

3. scrollbar-darkshadow-color

4. scrollbar-face-color


Question:
Which of the following property sets the spacing between words?

1.display

2.white-space

3.sr

4.word-spacing


Question:
Which of the following property specifies the order of a flexible item relative to the rest of the flexible items inside the same container?

1. sort

2.layout

3. order

4.asort


Question:
Which of the following property specifies the stack order of an element?

1.order

2.z-index

3.p-index

4.auto


Question:
Which of the following specifies how much the item will grow relative to the rest of the flexible items inside the same container?

1.flex-scale

2. flex-size

3.flex-grow

4.flex-flow


Question:
Which of the following strings are defined by in css?

1.single quotes

2. double quotes

3.both single quotes and double quotes

4.none of the mentioned


Question:
_____ property associates a background image with an element.

1. image

2.background-image

3.float

4.none of the mentioned


Question:
_____ property specifies whether the mask should scroll or stay fixed when the page is scrolled.

1. mask-image

2.mask-box-image

3.mask-attachment

4.mask-origin


Question:
______ property defines whether table cell borders are connected or separate.

1.border-color

2.border

3. border-style

4.none of the mentioned


Question:
______ property sets the coordinates of the clipping shape that exposes or hides the content of absolutely positioned elements

1.clammper

2.clip

3.clear

4.none of the mentioned


Question:
______ property specifies how the position of the mask should be calculated by setting the origin relative to different locations within an element’s box.

1. mask-image

2.mask-box-image

3.mask-attachment

4.mask-origin


Question:
_______ property defines the space between cells in a table.

1.border

2. border-spacing

3. border-style

4.none of the mentioned


Question:
________ property specifies the direction in which a marquee should move.

1.mask

2.mask-box-image

3.mask-attachment

4.mask-origin


Question:
_________ property defines whether table cell borders are connected or separate.

1. pre

2. border-color

3.border-collapse

4.table


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
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite 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!