CSS Typography and Fonts Quiz
Want to learn more than this quiz offers you? Have a look at my Frontend web
development courses.
Create an account and save your quiz results
Login and save your results
OR
Question 1/15
Which property will make the text italic?
Select your answer
Question 2/15
To bold text in CSS, which property should you use?
Select your answer
Question 3/15
Which value of 'text-align' will justify text?
Select your answer
Question 4/15
What happens when you use
text-transform: capitalize;
?
Select your answer
Question 5/15
Which CSS property is used to select the style of an ordered list marker?
Select your answer
Question 6/15
What CSS property increases the space between words?
Select your answer
Question 7/15
What is the correct syntax in CSS for setting the default font for the body tag?
Select your answer
Question 8/15
What is the CSS syntax for making all characters lowercase?
Select your answer
Question 9/15
Which property is used to set the initial size of a font to a specific size for better scaling?
Select your answer
Question 10/15
Which CSS property is used to change the font for a specific text element?
Select your answer
Question 11/15
What value of 'font-style' makes text italic in CSS?
Select your answer
Question 12/15
Which property is used to change the font family of an element?
Select your answer
Question 13/15
Which unit is not relative when setting font sizes?
Select your answer
Question 14/15
Which CSS property changes the appearance of an unordered list marker?
Select your answer
Question 15/15
What is the default value of the 'font-weight' property in CSS?
Select your answer
Your Results
You did not answer any questions correctly.
Your Answers
Question 1/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which property will make the text italic?
Available answers
The
font-style
property with a value of italic
will italicize the text.
Question 2/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
To bold text in CSS, which property should you use?
Available answers
The
font-weight
property in CSS specifies the weight (or boldness) of the text.
Question 3/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which value of 'text-align' will justify text?
Available answers
The
justify
value for text-align
aligns text evenly across a block element.
Question 4/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What happens when you use <pre><code>text-transform: capitalize;</code></pre>?
Available answers
text-transform: capitalize;
capitalizes the first letter of each word in the element's text content.
Question 5/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which CSS property is used to select the style of an ordered list marker?
Available answers
The
list-style-type
property in CSS specifies the appearance of an ordered list marker.
Question 6/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What CSS property increases the space between words?
Available answers
The
word-spacing
property increases the space between words in a text.
Question 7/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What is the correct syntax in CSS for setting the default font for the body tag?
Available answers
To set the default font for the
body
tag, use body { font-family: Arial, sans-serif; }
.
Question 8/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What is the CSS syntax for making all characters lowercase?
Available answers
The
text-transform: lowercase;
syntax is used to make all characters in the text lowercase.
Question 9/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which property is used to set the initial size of a font to a specific size for better scaling?
Available answers
The
font-size
property is used to set the size of the font.
Question 10/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which CSS property is used to change the font for a specific text element?
Available answers
The
font-family
property is used to specify the font of a text element.
Question 11/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What value of 'font-style' makes text italic in CSS?
Available answers
The
font-style
property in CSS uses the value italic
to make text italic.
Question 12/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which property is used to change the font family of an element?
Available answers
The
font-family
property in CSS specifies the typeface to be used for an element's text.
Question 13/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which unit is not relative when setting font sizes?
Available answers
The
px
(pixel) unit is an absolute unit for setting font sizes, whereas em
, rem
, and %
are relative.
Question 14/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
Which CSS property changes the appearance of an unordered list marker?
Available answers
list-style-type
changes the type of marker for lists (e.g., disc, circle, square for unordered lists).
Question 15/15
😊 Your
answer was correct
🙁 Your
answer was incorrect
What is the default value of the 'font-weight' property in CSS?
Available answers
The default value of the
font-weight
property is normal
.