CSS Quiz

In this CSS Quiz section – every Question Carries 2 Marks. If any question is wrong then two marks will be deducted.

Note: – Fill the information Correctly to get Certified.

CSS Quiz

1 / 50

What does CSS stand for?

2 / 50

Which CSS property is used to change the text color of an element?

3 / 50

What is the correct CSS syntax to select an element with id="demo"?

4 / 50

Which CSS property is used to control the spacing between lines of text?

5 / 50

Which CSS property is used to set the background color of an element?

6 / 50

What does the CSS property "display: none;" do?

7 / 50

Which CSS property is used to change the font size of an element?

8 / 50

What is the correct CSS syntax to apply a border to all sides of an element?

9 / 50

Which CSS property is used to specify the font family of an element's text?

10 / 50

What is the purpose of the CSS property "float"?

11 / 50

Which CSS property is used to specify the thickness of an element's border?

12 / 50

What is the correct CSS syntax to set the text alignment to center?

13 / 50

Which CSS property is used to control the visibility of an element?

14 / 50

What does the CSS property "position: relative;" do?

15 / 50

Which CSS property is used to add shadow effects to text?

16 / 50

What is the purpose of the CSS property "z-index"?

17 / 50

Which CSS property is used to set the width of an element?

18 / 50

What is the correct CSS syntax to apply styles to an element with class="button"?

19 / 50

Which CSS property is used to specify the opacity of an element?

20 / 50

What is the purpose of the CSS property "border-radius"?

21 / 50

Which CSS property is used to control the spacing between columns of a table?

22 / 50

What is the correct CSS syntax to apply styles to all <p> elements within a <div> with class="container"?

23 / 50

Which CSS property is used to make text bold?

24 / 50

What does the CSS property "overflow: hidden;" do?

25 / 50

Which CSS property is used to control the order of flexible items in a flex container?

26 / 50

What is the correct CSS syntax to set the background image of an element?

27 / 50

Which CSS property is used to add padding to an element?

28 / 50

What is the purpose of the CSS property "text-decoration: underline;"?

29 / 50

Which CSS property is used to align text vertically within its containing element?

30 / 50

What is the correct CSS syntax to apply styles to an element when the mouse hovers over it?

31 / 50

Which CSS property is used to specify the minimum width of an element?

32 / 50

What is the purpose of the CSS property "transition"?

33 / 50

Which CSS property is used to make an element's box shadow?

34 / 50

What does the CSS property "flex-grow" specify?

35 / 50

Which CSS property is used to align text horizontally within its containing element?

36 / 50

What is the purpose of the CSS property "box-sizing: border-box;"?

37 / 50

Which CSS property is used to specify the alignment of items within a flex container?

38 / 50

What is the correct CSS syntax to apply styles to the first letter of a text?

39 / 50

Which CSS property is used to set the opacity of an element on mouse hover?

40 / 50

What is the purpose of the CSS property "flex-direction"?

41 / 50

Which CSS property is used to specify the style of the cursor when hovering over an element?

42 / 50

What is the correct CSS syntax to apply styles to all elements of a certain class?

43 / 50

Which CSS property is used to specify the distance between the outer edges of an element?

44 / 50

What does the CSS property "position: absolute;" do?

45 / 50

Which CSS property is used to apply a gradient background to an element?

46 / 50

What is the purpose of the CSS property "text-transform: uppercase;"?

47 / 50

Which CSS property is used to specify the position of an element within its container?

48 / 50

What is the purpose of the CSS property "box-sizing: content-box;"?

49 / 50

Which CSS property is used to create a transition effect for an element's background color?

50 / 50

What does the CSS property "flex-wrap: wrap;" do?

Your score is

The average score is 63%

0%

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top