The Mudcat Café TM
Thread #12759   Message #3300133
Posted By: JohnInKansas
01-Feb-12 - 05:00 AM
Thread Name: HTML Practice Thread
Subject: RE: HTML Practice Thread
It appears you wrote:


<font color=navy#>this should be blue</font>

<font color=magenta#> Pink</font>

Try it without the #

<font color=blue>this should be blue</font>

this should be blue

To be "formallly correct" the color names you put in are "littorals" and should be enclosed in straight quotes, but as in other places omitting the quotes is usually acceptable. The color names you can use are limited to a few words defined by the standard, so you do need to avoid using unusual colors. Some browsers page interpreters are better than others at recognizing things like fuschia and chartreuse. Methods are also available for defining the colors by numerical codes that allow very broad latitude.

John