FONT COLOUR AND SIZE

 

GENERAL INFORMATION

 

You can set the colour and size of text by placing <font> and </font> tags around that text.

 

To change only the colour, you use:

 

            <font color="red"> This text will be red </font>

 

To change only the size (range from 1 to 7), you use:

 

            <font size="4"> This text will be of size 4 </font>

 

You can also change both attributes at once by using:

 

            <font color="green" size="6"> This text will be green and of size 6. </font>

 

LOCATION OF USE

           

You can place the tag anywhere between the <body> and </body> tags.

 

COMMON ERRORS

 

 

EXAMPLE

 

Click here to see an example.  Use View Source to see the code.