Task 15: Setting the Font Color

In the font tag, the face attribute sets the typeface and the size attribute sets the text size. It shouldn’t come as a big surprise then that the color attribute sets the text color. In HTML, colors can be defined using hexadecimal notation (a six-character code for expressing the combined red, green, and blue values of affected pixels) or a number of predefined English equivalents. There are different methods for defining font color, with or without using the font tag’s color attribute.

No comments: