Formatting text (2)

Apart from changing the font style of text, you can also change its colour...  Click on the code samples to see what effects the tags have on the text...

Click me
You can also try the colours "RED", "GREEN" "BLACK" and so on. If you prefer, you can obtain far greater precision by using the six-digit hexadecimal colour codes - thee couplets - each of which represents a shade of one of the primary colours.

 

Click me
You can include more than just colour - for instance, you can specify the font, its size, AND its colour.  But notice the spelling of "COLOR" - HTML does not recognize the British spelling of  "COLOUR" - there´s a moral in that somewhere...

HTML Rules!

HTML Rules!