Page 127 - CA 165 ver 1.0 Class 10
P. 127
Font Style
The ‘font-style’ property is mostly used to make the text ‘italic’. Other types of font styles are normal and
oblique.
Font Size
The ‘font-size’ property is used to increase or decrease the size of a font. Syntax to use the 'font-size' and
'font-style' properties is as follows:
<P STYLE=“font-style:italic; font-size: font size in px;”>
TEXT
</P>
ALIGNING TEXT
The ‘text-align’ property is used to align the text in desired position. Left, Right, Center, Justify are the
types of available text alignment. Syntax to use the 'text-align' property is as follows:
<P STYLE = “text-align: value;”>
TEXT
</P>
Cascading Style Sheets 125

