Why does HTML think “chucknorris” is a color?
Why do certain random strings produce colors when entered as background colors in HTML?
For example:
<body bgcolor="chucknorris"> test </body>
...produces a document with a red background across all browsers and platforms.
On the other hand, chucknorr
produces a yellow background!
What’s going on here?