CSS Quiz

0%

CSS

1. Which is the correct CSS statement to define multiple font families?

2. Which CSS property specifies the type of list item marker?

3. Which cursor property value indicates that the program is busy?

4. This selector selects all the elements where the parent is a

element.

5. In a CSS file, there is a CSS rule for paragraphs tags – what does p can be called?

6. Which CSS property is used to specify uppercase and lowercase letters in a text?

7. In the given line of code, identify the type of selector used.

#Main {background-color: yellow;}

8. Which CSS property specifies the opacity/transparency of an element?

9. Which selector selects the markers of list items?

10. Which CSS property is used to specify the indentation of the first line of a text?

11. From the given options which is/are the valid way to represent a color

12. Which is the correct inline CSS for p tag to define paragraph's text and background colors?

13. Does the z-index property accept negative values?

14. Among the following CSS properties, which property is not a shorthand property?

15. What is the use of "text-align:justify" in CSS?

16. Which of the following CSS properties are animatable?

17. The CSS property used to change text sizes?

18.   ___ means 4 times the size of the current font.

19. In this line of code, identify the selector ___. p {border: 2px solid blue;}

20. Which is the correct CSS statement to capitalize the first letter of each word?

21. The default value of justify-content property is ___.

22. Which CSS property is used to specify the space between lines?

23. What are the valid values of vertical-align property?

24. Which is the correct syntax for adding animation?

25. Which CSS property is used to style the hyperlinks on hover (Mouse over)?

26. What does 'padding: 50px 20px;' specifies?

27. Which CSS property specifies an image as the list item marker?

28. Can we link multiple stylesheets to a single page?

29. The ___ property is used in the positioning of the background image

30. The CSS border property specifies the style, color, and ___ of an element's border.

31. What is the correct syntax for referring an external CSS?

32. Which of the following is the correct syntax to display the hyperlinks without any underline?

33. Which CSS property and value is used to center an element?

34. Which CSS property specifies the type of positioning method used for an element?

35. Which is the most widely used font in customizing web pages?

36. Which CSS function performs a calculation to be used as the property value

37. What CSS describes?

38.  Where do we store external stylesheets?

39. In this line of code, what is the use of the alt attribute?

It is red

40. What are the valid values of "text-decoration" property?

41.  What are the valid values of text-transform property?

42. Which line of code is a must to write to apply CSS Flexbox properties?

43. Amongst the following browsers, which browser supports almost all the CSS properties?

44. What are the valid values of text-align property?

45. How many color names does CSS supports?

46. Which CSS property specifies if/how an element is displayed?

47. What are the valid values for "position" property?

48. What is a CSS selector?

49. HTML elements are positioned ___ by default.

50. Which property is used to define the text color?

51. Which line of code represents a universal selector?

52. What are the valid values of font-style property?

53. Internal styles are written within the _____ element.

54. If you want to use a green dotted border around an image, which CSS property is used for that?

55. Which CSS property is not supported by the Firefox browser?

56. Which CSS property sets the vertical alignment of an element?

57. Which CSS property is used to specify the space between the characters in a text?

58. Which CSS function performs a calculation to be used as the property value ?

59. Which CSS property adds shadow to text?

60.  In CSS, what does HSL stands for?