![]() |
|
The Font Tag, Free online HTML Tutorial, Learn HTML online for free... |
| Lessons | The Font Tag |
|
|||
|
Changing the size: The size of text can be controlled with the size attribute of the font tag. It takes the value from 1 to 7. 1 being the smallest size and 7 being the largest. <font size="1">Font Size 1</font> <br><font size="7">Font Size 7</font>
Changing the color: The color attribute can be used to change the color of the text. It can take the color name in RGB Hexa or it can take one of the color names available here. <font color="pink">
Changing the font face: <font face="Arial">This
text is in Arial Font</font> <br>
Next >>> Lesson No. 6: Basefont Tag
|
|