CSS Quiz

0%

CSS

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

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

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

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

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

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

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

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

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

10. What CSS describes?

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

12. Internal styles are written within the _____ element.

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

14. How many color names does CSS supports?

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

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

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

18. HTML elements are positioned ___ by default.

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

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

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

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

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

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

#Main {background-color: yellow;}

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

26. Which line of code represents a universal selector?

27. Which CSS property adds shadow to text?

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

29. What is a CSS selector?

30. Which is the correct syntax for adding animation?

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

32.  Where do we store external stylesheets?

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

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

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

36. The CSS property used to change text sizes?

37. Which of the following CSS properties are animatable?

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

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

element.

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

41.  In CSS, what does HSL stands for?

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

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

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

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

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

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

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

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

It is red

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

51. Which selector selects the markers of list items?

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

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

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

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

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

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

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

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

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