Formatting Text
Written on June 15, 2007 by admin
This tutorial will show you how to change the default font sizes, colors, faces, etc, of your website or page.
By default, the text of your homepage is black with verdana font. How about if you want to change the color and font face? It easy, you just need to add <font> with attribute in front of your text that you want to changed.
An attribute is a string of text which, when inserted inside of a tag, will alter the tag in some way.
For Example:
-
<font color="blue">Text</font>
Don't forget to close the tag!
The text above is blue because of the color attribute. You can also use size - which, of course, sets the size of the text... and face - which sets the font type (I.E. verdana, arial, tahoma, etc...) attributes. For the size attribute, you can use 1-7; 1 is the smallest, 7 is the biggest For the face attribute, you can use the name of the font, such as "times new roman", "arial", "verdana", etc.
Writing Tag
You can compile attributes and put them all in the same tag as long as they are attributes of that tag. Below are two examples; one of complied attributes, and the other of non-compiled attributes.
-
<font color="red" size="4" face="arial">Some Text</font>
OR
Another Tag


