Page 97 - Plus_V2.2_C7_Flipbook
P. 97
Output:
Using Font Style
Font Size
The ‘font-size’ property is used to increase or decrease the size of a font.
Example: <P STYLE="FONT-SIZE: FONT SIZE IN PX;">
TEXT
</P>
Let us create a web page to set font size.
<!DOCTYPE html>
<HTML>
<HEAD>
</HEAD>
<BODY>
<P STYLE="FONT-SIZE:40PX;">
THIS TEXT WILL BE RENDERED
WITH FONT SIZE OF 40PX.
</P>
</BODY>
</HTML>
Output:
Setting font style
Using CSS in HTML5 95

