CSS

A vibrant and colorful illustration of a computer screen displaying CSS code, with design elements like margin, padding, and a layout representing modern web design best practices.

Mastering CSS: Test Your Knowledge

Welcome to the CSS Quiz! This interactive quiz is designed to challenge your knowledge of Cascading Style Sheets and improve your web design skills.

Test your understanding through 10 carefully crafted questions covering:

  • CSS properties and values
  • Measurement units
  • Styling techniques
10 Questions2 MinutesCreated by CodingGuru42
Q 1 - Which of the following is correct about CSS?
A - CSS is used to control the style of a web document in a simple and easy way.
B - CSS is the acronym for "Cascading Style Sheet
C - You can write CSS once and then reuse same sheet in multiple HTML pages.
D - All of the above
Q 2 - Which of the following defines a measurement relative to a font's x-height?
A - %
B - cm
C - em
D - ex
Q 3 - Which of the following defines 1% of viewport height?
A - px
B - vh
C - vw
D - vmin
Q 4 - Which of the following property is used as a shorthand to specify a number of other background properties?
A - background-attachment
B - background
C - background-repeat
D - background-position
Q 5 - Which of the following property is used to set the text direction?
A - color
B - direction
C - letter-spacing
D - word-spacing
Q 6 - Which of the following property is used to set the height of an image?
A - border
B - height
C - width
D - -moz-opacity
Q 7 - Which of the following property specifies the color of a border?
A - :border-color
B - :border-style
C - :border-width
D - :border-bottom-color
Q 8 - Which of the following property changes the style of right border?
A - :border-bottom-style
B - :border-top-style
C - :border-left-style
D - :border-right-style
Q 9 - Which of the following property changes the width of right border?
A - :border-bottom-width
B - :border-top-width
C - :border-left-width
D - :border-right-width
Q 10 - Which of the following value of cursor shows it as crosshair or plus sign?
A - crosshair
B - default
C - pointer
D - move
{"name":"CSS", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Welcome to the CSS Quiz! This interactive quiz is designed to challenge your knowledge of Cascading Style Sheets and improve your web design skills.Test your understanding through 10 carefully crafted questions covering:CSS properties and valuesMeasurement unitsStyling techniques","img":"https:/images/course6.png"}
Powered by: Quiz Maker