asportzone.com /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

Posted Date:-2021-12-29 07:31:20


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

Posted Date:-2021-12-29 07:54:38


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

Posted Date:-2021-12-29 07:55:59


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

Posted Date:-2021-12-29 07:56:27


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

Posted Date:-2021-12-29 07:33:51


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

Posted Date:-2021-12-29 08:03:07


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

Posted Date:-2021-12-29 08:04:25


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

Posted Date:-2021-12-29 07:55:08


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

Posted Date:-2021-12-29 07:51:35


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

1. Float

2.Align

3.Gradients

4. color

Posted Date:-2021-12-29 07:55:33


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

Posted Date:-2021-12-29 07:57:12


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

Posted Date:-2021-12-29 07:31:42


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

Posted Date:-2021-12-29 07:32:08


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

Posted Date:-2021-12-29 07:39:57


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!

Posted Date:-2021-12-29 07:52:27


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

Posted Date:-2021-12-29 07:54:11


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

Posted Date:-2021-12-29 07:56:49


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

1.background-color

2.border

3.color

4.Display

Posted Date:-2021-12-29 07:33:24


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

1. background-color

2.border

3.color

4.Display

Posted Date:-2021-12-29 07:33:02


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

Posted Date:-2021-12-29 07:42:22


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

Posted Date:-2021-12-29 07:32:41


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

1.hidden

2.auto

3.scroll

4.all of the mentioned

Posted Date:-2021-12-29 07:37:40


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

Posted Date:-2021-12-29 08:03:35


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

Posted Date:-2021-12-29 08:03:59


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

1. c

2.cm

3.centi

4.centimeter

Posted Date:-2021-12-29 08:07:13


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

1.Tag

2.Property

3.Selector

4.Class

Posted Date:-2021-12-29 07:53:20


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

1. Tag

2.Selector

3.Declaration

4.Both Selector and Declaration

Posted Date:-2021-12-29 07:52:53


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

Posted Date:-2021-12-29 07:43:58


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

Posted Date:-2021-12-29 07:41:57


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

Posted Date:-2021-12-29 08:04:53


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

Posted Date:-2021-12-29 08:05:42


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

Posted Date:-2021-12-29 08:01:02


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

Posted Date:-2021-12-29 08:06:07


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

Posted Date:-2021-12-29 08:00:33


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

Posted Date:-2021-12-29 08:01:56


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

1.display

2.visibility

3. transperancy

4.disappear

Posted Date:-2021-12-29 08:05:15


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

Posted Date:-2021-12-29 08:01:34


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

1.display

2.white-space

3.sr

4.word-spacing

Posted Date:-2021-12-29 08:06:29


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

Posted Date:-2021-12-29 07:36:40


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

1.order

2.z-index

3.p-index

4.auto

Posted Date:-2021-12-29 07:40:20


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

Posted Date:-2021-12-29 07:43:00


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

Posted Date:-2021-12-29 08:02:41


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

1. image

2.background-image

3.float

4.none of the mentioned

Posted Date:-2021-12-29 07:35:30


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

Posted Date:-2021-12-29 07:59:49


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

1.border-color

2.border

3. border-style

4.none of the mentioned

Posted Date:-2021-12-29 07:35:00


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

Posted Date:-2021-12-29 07:34:15


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

Posted Date:-2021-12-29 08:00:11


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

1.border

2. border-spacing

3. border-style

4.none of the mentioned

Posted Date:-2021-12-29 07:34:37


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

1.mask

2.mask-box-image

3.mask-attachment

4.mask-origin

Posted Date:-2021-12-29 07:59:26


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

1. pre

2. border-color

3.border-collapse

4.table

Posted Date:-2021-12-29 07:35:58


More MCQS[asportzone.com ]

  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