color magic

variant HTML5

(Follow-up of the demo The color of your name, for explanation see over there.)

Other doctype variants: HTML 4.01 Transitional, HTML 4.01 Strict, XHTML 1.0 Transitional, XHTML 1.0 Strict.

This is a page full of deprecated html-code and invalid colornames! *)

The deprecated codes are spotted by the HTML-validator also this time: 54 errors: all obsolete elements or attibutes. **)
The css-validator is still giving Congratulations! No Errors Found; for the errors are still in the html, not in the css.

All 54 in the html given colornames for text and background colors are invalid colornames: they don't exist as colornames; see the list of valid color names over here.
Whereas in html-4.01 or xhtml-1.0 you can use deprecated elements/attributes (with the forgiving Transitional doctype), in html-5 the obsolete is on the brink of the abyss:

In spite of this, all browsers ***) of this moment still show the phantasy colors for the non-existing colornames:

table header

row 1, cel 1 row 1, cel 2 row 1, cel 3
row 2, cel 1 row 2, cel 2 row 2, cel 3

<body bgcolor="ffffancy" text="fresh young yellow" link="batman" alink="workinghero" vlink="long ago">
...
<h3><font color="redgreen">variant HTML5</font></h3>
...
<table bgcolor="oops-no-valid-colorname" cellpadding="5">
  <tr bgcolor="nothing">
    <th colspan="3"><h3><font color="greenred">table header</font></h3></th>
  </tr>
  <tr bgcolor="redgreen">
    <td><font color="equator">row 1, cel 1</font></td>
    <td bgcolor="miracle"><font color="Hawaii">row 1, cel 2</font></td>
    <td>row 1, cel 3</td>
  </tr>
  <tr bgcolor="fresh young yellow">
    <td><font color="~Grey~">row 2, cel 1</font></td>
    <td bgcolor="bg-color"><font color="beautiful">row 2, cel 2</font></td>
    <td><font color="redgreen">row 2, cel 3</font></td>
  </tr>
</TABLE>

Browser differences in the link colors:

______________
*) The main code is coming from a W3C deprecated example in the official html 4.01 specification of december 1999.
Added is a table with also deprecated codes in it.

**) HTML-Tidy in Firefox is also aware of the shortage: the same 54 obsolete elements/attributes.

***) Firefox 23/25, Chrome 30, Opera 12/17, Safari-Win (5.1.7) and Internet Explorer 7 and 10; all on desktop/laptop under Windows.
IE8 and IE9 look good in Netrenderer.

Never ever use this in a real life web page!