Lancecourse
Les Cours
Les Tutos
Blog
Se Connecter
S'inscrire
gratis
English
Typography and Colors in CSS
This quiz tests your understanding of the essential CSS properties for styling text and typography, including text formatting, font usage, and colors.
Question 1
Which CSS property is used to indent the first line of a paragraph?
text-indent
line-height
padding
margin
Question 2
Which CSS property is used to center text horizontally within an element?
text-transform
font-family
text-align
text-indent
Question 3
What does the font-family property define?
The size of text
The typeface of the text
The color of the text
The alignment of text
Question 4
What does the text-shadow property do?
Adds a background color to text
Adds shadow effects to text
Changes the color of text
Underlines text
Question 5
Which CSS property would you use to change the thickness of an underline?
text-shadow
text-decoration-thickness
font-weight
line-height
Question 6
What is the correct way to include a Google Font in your HTML file?
Use an <img> tag
Use an <iframe> tag
Use a <link> tag in the <head> section
Use a <script> tag
Question 7
What does the line-height property adjust?
The space between words
The space between lines of text
The thickness of text
The position of text
Question 8
Which value for text-transform will make all letters uppercase?
lowercase
capitalize
uppercase
none
Question 9
What does the font-size property control in CSS?
The size of text
The color of text
The type of font used
The alignment of text
Question 10
Which is NOT one of the five main font family groups in CSS?
Serif
Sans-serif
Monospace
Gothic
Answer all the questions then submit.
Submit Answers