Font sizes

[Total: 0    Average: 0/5]

This show several different methods to have text sizes in an HTML document.

Body Code:

<font size=1>Size 1</font>
<font size=2>Size 2</font>
<font size=3>Size 3</font>
<font size=4>Size 4</font>
<font size=5>Size 5</font>
<font size=6>Size 6</font>
<BR>
<p style="font-size: 6px">Size 6px</p>
<p style="font-size: 8px">Size 8px</p>
<p style="font-size: 10px">Size 10px</p>
<p style="font-size: 14px">Size 14px</p>
<p style="font-size: 20px">Size 20px</p>
<p style="font-size: 50px">Size 50px</p>
<BR>
<font size=+4>Size +4</font>
<font size=-4>Size -4</font>
<BR>
<style type=text/css>
#f1 {font-size: 14;}
#f2 {font-size: 30;}
#e1 {font-size: 1em;}
#e2 {font-size: 4em;}
</style>
<p id=f1>Size 14</p>
<p id=f2>Size 30</p>
<p id=e1>Size 1em</p>
<p id=e2>Size 4em</p>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *