CSS Basics
This test evaluates your foundational knowledge of CSS, covering selectors, colors, text styles, and layouts. To build your basics, explore free resources like CSS First Steps by MDN, W3Schools CSS Tutorial, and this beginner-friendly CSS Crash Course on YouTube.
1
What does CSS stand for?
2
Which HTML attribute is used to define inline styles?
3
How do you select an element with id "demo"?
4
Which property is used to change the background color?
5
How do you add a background color for all elements?
6
Which CSS property controls the text size?
7
What is the correct CSS syntax for making all the elements bold?
8
How do you display hyperlinks without an underline?
9
Which property is used to change the font of an element?
10
How do you make the text bold?