CSS MCQ Quiz Hub

CSS Multiple-Choice Questions

Choose a topic to test your knowledge and improve your CSS skills

What is CSS stands for?





✅ Correct Answer: 1

What CSS describes?





✅ Correct Answer: 2

What is the correct syntax for referring an external CSS?





✅ Correct Answer: 1

What is a CSS selector?





✅ Correct Answer: 4

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





✅ Correct Answer: 1

Internal styles are written within the _____ element.





✅ Correct Answer: 1

Inline styles are written within the _____ attribute.





✅ Correct Answer: 1

CSS comments are placed within the ______.





✅ Correct Answer: 2

Which property is used to define the text color?





✅ Correct Answer: 2

Which property is used to define the background color?





✅ Correct Answer: 4

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





✅ Correct Answer: 4

Which property is used to define the font of the element's text?





✅ Correct Answer: 2

What are the valid values of font-style property?





✅ Correct Answer: 4

Why font-weight property is used?





✅ Correct Answer: 1

What is/are the correct value(s) of font-weight property?





✅ Correct Answer: 3

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





✅ Correct Answer: 4