How to change font sizes and colors
<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>
Hey, I'm Small!
<font size="+4">Hey There</font>
Hey There
Hey There
<font size="+3">Hey There</font>
Hey There
Hey There
<font size="+2">Hey There</font>
Hey There
Hey There
<font size="+1">Hey There</font>
Hey There
Hey There
<font size="-1">Hey There</font>
Hey There
Hey There
<font size="-2">Hey There</font>
Hey There
Hey There
<font size="-3">Can you read this?</font>
Can you read this?
<font color="color">
We replace the word color with a color name or the hexadecimal
color value. Let's do one using the color name to begin:
<font color="red">I'm red!</font>
I'm red!
I'm red!
<font color="#FF0000">I'm red!</font>
I'm red!
I'm red!
.
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!
I am gold!
0 comments:
Post a Comment