Simple background-color - firebrick3 works for HTML, but not for CSS

I have two examples below to show the use of firebrick3 as a page background color. The HTML version works and shows firebrick3 page background; however the CSS version shows a white background. Why is there this apparent difference in the ability to use the key value firebrick3 in HTML, but not in CSS? Or is there an error in my code? I know how to get it to work in CSS ( use hex key value instead of firebrick3). But... I am curious why firebrick3 does not work and what I have to watch out for and why when using color names in CSS.

======= HTML version ===============
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Untitled
</title>
</head>
<body bgcolor="firebrick3">
Some body text here
</body>
</html>

======= CSS  version ================

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
/* I cannot get background:firebrick3 to work! But using hex will work #C11B17 */
body {background: firebrick3;}
-->
</style>
</head>
<body>
Some body text here
</body>
</html>
LuluDevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TedInAKCommented:
While it is a recognized color for the deprecated "bgcolor" attribute, it isn't a recognized CSS color.
TedInAKCommented:
Here's a list of some color names and their respective hex values - http://www.w3schools.com/css/css_colornames.asp

NOTE: only 16 color names are supported by the W3C CSS standard.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LuluDevAuthor Commented:
Excellent link! I had rooted around a bit in w3c and had not found this document. So as the link you sent suggest... in CSS I will stick to using the 16 color names and if I reallly want firebrick3 I will use the hex equivalent!

Thank-you!
TedInAKCommented:
You're most welcome!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.