You are at the section Intro to CSS
Fun With Fonts: Font Sizes
Using the font element: (you can also use h1, h2, h3, h4, h5, h6, and p elements too)
<font style="INSERT CSS HERE">
We're going to change the size of the font. Here's what it looks like with the following tags:
<font style="font-size:16px">
This is font-size:16px
</font>
<font style="font-size:8px">
This is font-size:8px
</font>
<font style="font-size:24px">
This is font-size:24px
</font>
<font style="font-size:x-large">
This is font-size:x-large
</font>
<font style="font-size:x-small">
This is font-size:x-small
</font>
<font style="font-size:1px">
This is font-size:1px
</font>
<font style="font-size:100px">
This is font-size:
100px
</font>
We're just being silly with that last one. You can change the size of the text to 10,000 if you want,
but we won't do it here.
The sizing tags: xx-small, x-small, small, medium, large, x-large, xx-large
© 1995-2023. davesfunstuff.com. All Rights Reserved. Reproduction of any part of this website without expressed written consent is prohibited.
Help Support Our Ad-Free Web Section
Just use our PayPal link to pay.
Please to help pay for webhosting, domain payments, expenses and labor in keeping this section going. Thank you.
,
,
,
,
,
,
,
Notice Of Disclosure (updated June 2023):
"David Tanny is the owner and operator of the domains davesfunstuff.com and davidtanny.com"