Page 56 - modular_v2.0_HTML&_CSS_Fb
P. 56
Instead, we can use the following CSS properties to customise the font.
FONT-FAMILY: It allows you to set the font family such as Times New Roman, Verdana.
<P STYLE="FONT-FAMILY: Arial, sans-serif;">FONT FAMILY </P>
FONT-SIZE: It allows you to set the font size.
<P STYLE="FONT-SIZE: 16PX;">Font Size</P>
FONT-STYLE: It allows you to set the style of the font, such as normal, italic, or oblique.
<P STYLE="FONT-STYLE: ITALIC;">Italic Text</P>
Following web page is created by using the Font properties.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Using Font Properties</TITLE>
</HEAD>
<BODY>
<H1>
The Use of Font Properties
</H1>
<P>
Font properties are used to define various characteristics of text.
</P>
<P>
<B>
For example: Font Family
</B>
</P>
<P STYLE="FONT-FAMILY: ARIAL, SANS-SERIF;">
This text is displayed in the font family: Arial, sans-serif.
</P>
<P>
<B>For example: Font Size
</B>
</P>
<P STYLE="FONT-SIZE: 16PX;">This text is displayed in font size: 16px.
</P>
<P>
<B>
54
Touchpad MODULAR (Ver. 2.0)

