HTML/Beginner/Font Size and Color
Okay, now we want to see how to change the font size. This is done with the following tag:
< FONT SIZE="x" >text to change< /FONT >
"x" will be replaced by a number with a + or - sign in front of it. So let's say you wanted to make the font larger. You can use the tag with a +2, like this:
< FONT SIZE="+2" >I'm a big sentence now!< /FONT >
This will give us the following:
I'm a big sentence now!
Likewise, you can make the font smaller in the same way, using the - sign:
< FONT SIZE="-2" >Hey, I'm Small!< /FONT >
Will give us this:
Hey, I'm Small!
Here are some more size examples for you:
< FONT SIZE="+4" >Hey There< /FONT >
Hey There
< FONT SIZE="+3" >Hey There< /FONT > Hey There < FONT SIZE="+2" >Hey There< /FONT
Hey There
< FONT SIZE="+1" >Hey There< /FONT >
Hey There
< FONT SIZE="-1" >Hey There< /FONT >
Hey There
< FONT SIZE="-2" >Hey There< /FONT >
Hey There
" can you read this?" Now, suppose you want to change the font color. This is done in much the same way. Here is the tag:
< FONT COLOR="color" >
We replace the word color with a color name or the hexidecimal color value. Let's do one using the color name to begin:
< FONT COLOR="red" >I'm red!< /FONT >
I'm red! Now let's use the hexidecimal value for red. The hexidecimal representation begins with a # sign and is followed by six letters and/or numbers. Here is the example:
< FONT COLOR="#FF0000" >I'm red!< /FONT > I'm red! That is a # sign, two F's and four zeros. Usually it's easier to remeber the color names, but you may want to have the hex code for more complicated colors. If you want to see a sample list of color names and hex codes, click here .
Now suppose you want to change the size AND the color. To do this, you can use two FONT tags and remember to close them both, like this:
< FONT SIZE="+2" >< FONT COLOR="gold" >I am gold!< /FONT >< /FONT >
I am gold!
Also, you can use the SIZE and COLOR declarations inside the same tag, and close only one tag. This is done like this:
< FONT SIZE="+2" COLOR="gold" >I am gold!< /FONT >
I am gold!
Nice signature font June Hollister (Bavand)
Nice signature font June Hollister (Bavand)
Nice small font“June Hollister”(Futura Lt BT)
Remember, not all computers have the same font on their computer so be careful when choosing a fansy font for your Web site. The way to check to see what font your computer has go to Word Editor and check the font there.