Color Attribute Example – HTML Syntax – Color HTML Example

Color Attribute Example – HTML Syntax – Color HTML Example

Purpose: – Illustrates the for the .

You can download an excellent free html editor at nvu. This HTML editor will allow you to easily experiment with these examples.

Function: color=”colorname” or color=”#rrggbb” Specifies the color of the font.

View Example In Browser

< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Font Color Attribute Example</title>
</head>
<body>
<p>
<font color="#aa00bb">font color is aa00bb</font>
</p>
</body>
</html>