Recall & Review
beginner
What CSS property is used to change the style of the font, such as making it italic or normal?
The
font-style property is used to change the style of the font. Common values are normal, italic, and oblique.Click to reveal answer
intermediate
What is the difference between
italic and oblique in font-style?italic uses a specially designed font style that slants the letters with a unique shape, while oblique simply slants the normal font without changing the letter shapes.Click to reveal answer
beginner
How do you make text normal (not italic or oblique) using CSS?
Use
font-style: normal; to make text appear with the default upright style.Click to reveal answer
beginner
Can you apply
font-style to any HTML element?Yes,
font-style can be applied to any element that contains text, such as <p>, <h1>, <span>, etc.Click to reveal answer
beginner
What is the default value of the
font-style property?The default value is
normal, meaning text is shown without any slant or special style.Click to reveal answer
Which CSS property changes the font style to italic?
✗ Incorrect
The
font-style property controls whether text is normal, italic, or oblique.What value of
font-style makes text slanted but keeps the original letter shapes?✗ Incorrect
oblique slants the text without changing letter shapes, unlike italic.If you want text to appear upright and not slanted, which
font-style value do you use?✗ Incorrect
normal is the default and shows text without slant.Can
font-style be applied to a <span> element?✗ Incorrect
font-style works on any element with text, including inline elements like <span>.What is the default font style for most browsers?
✗ Incorrect
By default, browsers show text with
font-style: normal;.Explain how the CSS
font-style property affects text appearance and name its common values.Think about how text can look normal, slanted, or specially styled.
You got /5 concepts.
Describe the difference between
italic and oblique font styles in CSS.One changes letter shapes, the other just tilts them.
You got /3 concepts.