asportzone.com /CSS/Css Mcq Set 3 Sample Test,Sample questions

Question:
 Which of the following property defines a color for the right and bottom edges of a scroll bar.

1. scrollbar-color

2. scrollbar-darkshadow-color

3.scrollbar-shadow

4. scrollbar-shadow-color

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


Question:
 Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?

1.border-style

2.border-height

3. border-width

4. border-top

Posted Date:-2021-12-29 06:58:17


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.attribute selectors

3. adjacent-sibling selector

4.none of the mentioned

Posted Date:-2021-12-29 07:25:45


Question:
By applying an ___________ a style can be applied to just a single tag.

1.class rule

2.element rule

3.id rule

4.none of the mentioned

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


Question:
Find the specificity of this “li:first-line”.

1. specificity = 0,0,1,1

2. specificity = 0,0,0,2

3.specificity = 0,1,0,1

4. specificity = 1,0,0,1

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


Question:
Find the specificity of this “li”.

1. specificity = 0,0,0,1

2.specificity = 0,0,1,1

3.specificity = 0,1,1,1

4. specificity = 1,1,1,1

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


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

1.specificity = 0,0,3,1

2.specificity = 0,0,1,3

3.specificity = 1,1,1,1

4. specificity = 1,2,2,1

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


Question:
Find the specificity of this “ul ol+li”.

1.specificity = 0,0,2,1

2.specificity = 0,2,1,1

3. specificity = 0,1,1,1

4. specificity = 0,0,0,3

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


Question:
Find the specificity of this ” ul li”.

1. specificity = 0,0,0,0

2.specificity = 0,0,1,2

3.specificity = 0,0,0,2

4. specificity = 2,0,0,0

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


Question:
The ___ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.

1.class

2. element

3.id

4.none of the mentioned

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


Question:
What type of selector is used in this case?

p {line-height: 150%;}

1.class Selectors

2.element Selectors

3.id Selectors

4.none of the mentioned

Posted Date:-2021-12-29 07:23:25


Question:
What will be the output of below mentioned code snippet?
p strong {background-color: yellow;}

1.Strong have yellow background

2.Strong element within a p element have a yellow background

3.Both p and strong have yellow background

4.none of the mentioned

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


Question:
Which of the following @viewport Property locks the document in the specified orientation, portrait or landscape?

1.orientation

2.resolution

3. landscape

4. portrait

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


Question:
Which of the following @viewport Property sets the viewport height in the same way as width?

1. height

2.width

3. viewpor-width

4. None of the mentioned

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


Question:
Which of the following argument is not accepted by radial-gradient() function?

1. Shape

2. Time

3.Color stops

4. Position

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


Question:
Which of the following box-sizing property value is described by width and height include content, padding, and borders?

1.border-box

2.content-box

3. content-box

4.none for the mentioned

Posted Date:-2021-12-29 06:54:22


Question:
Which of the following CSS Gradient Functions creates a circular or elliptical gradient, and optionally sets its shape, size, and position?

1. radial-gradient()

2.circular-gradient()

3.elliptical-gradient()

4.none of the mentioned

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


Question:
Which of the following CSS Gradient Functions Creates a radial gradient that repeats infinitely?

1. repeat-radial-gradient()

2.repeating-radial-gradient()

3.infinite-radial-gradient()

4.none of the mentioned

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


Question:
Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?

1. gradient()

2. line-gradient()

3.linear-gradient()

4. None of the mentioned

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


Question:
Which of the following function creates a CSS gradient image that can be used anywhere an image URL is required, including background-image, border-image, and list-style properties?

1.canvas

2. gradient

3.animation

4.color

Posted Date:-2021-12-29 07:16:19


Question:
Which of the following is not a browser-specific versions of linear-gradient()?

1. -moz-linear-gradient()

2. -o-linear-gradient()

3.-mac-linear-gradient()

4.-webkit-linear-gradient()

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


Question:
Which of the following media feature describes the number of entries in the color lookup table of the output device

1. color

2.color-index

3.color-value

4.color-@media

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


Question:
Which of the following Media Query describe the ratio of the device width to the device height of the media?

1. device-aspect

2.device-aspect-ratio

3. device-aspect-query

4.none of the mentioned

Posted Date:-2021-12-29 07:21:01


Question:
Which of the following Media Query describes the scanning method of a TV?

1. orientation

2.scan

3. resolution

4. None of the mentioned

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


Question:
Which of the following Media Query determines if output is grid, like a simple terminal or phone, or bitmap, like a standard monitor or printer?

1. monochrome

2. grid

3.resolution

4.device-height

Posted Date:-2021-12-29 07:21:25


Question:
Which of the following Media Query determines if output is monochrome and how many bits are used for gray display?

1.gray

2.chrome

3.monochrome

4.none of the mentioned

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


Question:
Which of the following option best explain this code “background-image: repeating-linear-gradient(-45deg, #426A77, #FFF 6px);”?

1.Creating Straight Stripes

2.Creating Cubic Stripes

3. Creating Spiral Stripes

4.Creating Diagonal Stripes

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


Question:
Which of the following option best explain this code “background-image: repeating-linear-gradient(to right, #D9CC3C, #FFEB79 5%, #D9CC3C 10%);”?

1.Creating a Repeating Gradient

2.Creating a Mix Repeating Gradient

3.Creating a Shadow Repeating Gradient

4.Creating a Smooth Repeating Gradient

Posted Date:-2021-12-29 07:17:48


Question:
Which of the following option best explain this code “background-image: repeating-radial-gradient(circle at 50% 100%, #FFEB79, #D9CC3C 5%);”?

1.Creating Infinte circular Gradients

2.Creating Repeating Circular Gradients

3.Creating Repeating Radial Gradients

4.Creating Infinite Radial Gradients

Posted Date:-2021-12-29 07:16:46


Question:
Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?

1. scrollbar-darkshadow

2. scrollbar-shadow-color

3.scrollbar-darkshadow-color

4.none of the mentioned

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


Question:
Which of the following property defines a shadow effect for text?

1.box-shadow

2. img-shadow

3. text-shadow

4.none of the mentioned

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


Question:
Which of the following property defines in a shorthand form the width, style, and color for all four sides of an element’s border?

1.border

2.border-style

3. border-color

4.border-all

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


Question:
Which of the following property defines in a shorthand form the width, style, and color for the left border of an element?

1.border

2.border-style

3.border-left

4.none of the mentioned

Posted Date:-2021-12-29 07:04:05


Question:
Which of the following property defines the color of an element’s right border?

1. border-right-colors

2.border-right-color

3.border-right

4. border-color

Posted Date:-2021-12-29 06:56:26


Question:
Which of the following property defines the space between cells in a table?

1.auto

2.border

3.spacing

4.border-spacing

Posted Date:-2021-12-29 06:56:58


Question:
Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

1.float

2. float-left

3.float-right

4.float-align

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


Question:
Which of the following property is used to round border corners?

1.border-corner

2. border-round

3. border-radius

4.none of the mentioned

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


Question:
Which of the following property sets an element’s background color?

1. background-image

2.background-color

3.background-colors

4.background-position

Posted Date:-2021-12-29 06:56:02


Question:
Which of the following property sets list-style-type, list-style-position, and liststyle-image?

1. style

2. list-style

3. menu-style

4. img-style

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


Question:
Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

1.background-scroll

2.background-attach

3.background-attachment

4. background-allowance

Posted Date:-2021-12-29 06:55:39


Question:
Which of the following property sets the font face to be used for text?

1. font

2.font-text

3.font-family

4.none of the mentioned

Posted Date:-2021-12-29 07:05:18


Question:
Which of the following property sets the shadow for a box element?

1. shadow

2. set-shadow

3.canvas-shadow

4.box-shadow

Posted Date:-2021-12-29 06:59:24


Question:
Which of the following property specifies whether the labels for an element’s list items are positioned inside or outside the “box” defined by the listed item?

1. list-style

2. list-position

3. list-style-position

4. list-position-style

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


Question:
Which of the following selectors selects adjacent siblings?

1. E > F

2. E F

3. E + F

4.E ~ F

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


Question:
Which of the following selectors selects any tag with an id attribute set?

1. E#id

2. .class

3. #id

4.*

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


Question:
Which of the following selectors selects direct descendents?

1. E > F

2.E F

3.E + F

4. E ~ F

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


Question:
Which of the following selectors selects siblings?

1.E.class

2. E ~ F

3.*

4. E, F, G

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


Question:
Which of the following selectors selects the specified elements of type E with a particular class value?

1.E.class

2.E ~ F

3. *

4.E, F, G

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


Question:
Which of the following Viewport Property determines whether the display can be zoomed in  and out?

1. scale

2.set-scale

3. adjust-scale

4. user-scalable

Posted Date:-2021-12-29 07:19:45


Question:
Which of the following Viewport Property sets the initial scaling factor?

1. scale

2. initial-scale

3. minimum-scale

4. user-scale

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


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