You can also italicize text with the font-style property.
h3 {
font-style: italic;
}
The italic value causes text to appear in italics. The font-style property also has a normal value which is the default.
1.The web page features three sections, “Garamond”, “Helvetica”, and “Space Mono”. Each of these sections includes a line with the name of the font creator, such as “Claude Garamond”. Let’s italicize the creator’s name on each of these cards.
In style.css, in the font card section, set the font style of .font-card .creator to italic.