0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>You can specify the font face using the font-style property. Here are its basic values:</p>
1
<p>You can specify the font face using the font-style property. Here are its basic values:</p>
2
<ol><li>normal - Normal font face;</li>
2
<ol><li>normal - Normal font face;</li>
3
<li>italic - Italics font face.</li>
3
<li>italic - Italics font face.</li>
4
<li>oblique - Slanted font face.</li>
4
<li>oblique - Slanted font face.</li>
5
</ol><p>One question that you may have is: what is the difference between italics and slanted text?</p>
5
</ol><p>One question that you may have is: what is the difference between italics and slanted text?</p>
6
<p>If you set the value to italic, the browser will try to find a separate italics font face for the characters for the given font. Some fonts specify a separate set of italics characters.</p>
6
<p>If you set the value to italic, the browser will try to find a separate italics font face for the characters for the given font. Some fonts specify a separate set of italics characters.</p>
7
<p>If there are no separate italics characters in the font, then the browser will make the text slanted, simulating italics. This is the equivalent to specifying the value font-style: oblique for the text.</p>
7
<p>If there are no separate italics characters in the font, then the browser will make the text slanted, simulating italics. This is the equivalent to specifying the value font-style: oblique for the text.</p>
8
<p>Let’s reinforce this theoretical knowledge with some practical exercises.</p>
8
<p>Let’s reinforce this theoretical knowledge with some practical exercises.</p>