0
0
CSSmarkup~5 mins

Font style in CSS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Afont-variant
Bfont-weight
Ctext-decoration
Dfont-style
What value of font-style makes text slanted but keeps the original letter shapes?
Anormal
Bitalic
Coblique
Dbold
If you want text to appear upright and not slanted, which font-style value do you use?
Anormal
Boblique
Citalic
Dunderline
Can font-style be applied to a <span> element?
AYes, because <code>&lt;span&gt;</code> can contain text
BNo, only block elements can have font styles
CNo, <code>font-style</code> only works on headings
DYes, but only if inside a <code>&lt;div&gt;</code>
What is the default font style for most browsers?
Aitalic
Bnormal
Coblique
Dbold
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.