23 行
1.2 KiB
Markdown
23 行
1.2 KiB
Markdown
title: Chucknorris, Pokemon etc jokes with HTML
|
|
author: 寮
|
|
date: 2022-07-06 07:56:00
|
|
tags:technology,webdev,internet
|
|
threadid: ALCCo5fMu3C5cr66U4
|
|
----
|
|
At total random I clicked on [this question on StackOverflow](https://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color), so I gave it a try, and though "holy fuck!".\
|
|
Basically, have a "body" tag, which you WILL have in HTML anyway.\
|
|
Put a "bgcolor" attribute, and have the value any of the below in order to get specific colors:
|
|
|
|
* chucknorris = rgb(192, 0, 0) (red)
|
|
* mrt = rgb(0, 0, 0) (black)
|
|
* ninjaturtle = rgb(0, 160, 0) (green)
|
|
* sick = rgb(0, 192, 0) (green)
|
|
* crap = rgb(192, 160, 0) (gold)
|
|
* grass = rgb(0, 160, 0) (green)
|
|
* charmeleon = rgb(192, 14, 0) (red, this is apparently the English name for [リザード](https://pente.koro-pokemon.com/zukan/005.shtml))
|
|
* ivysaur = rgb(0, 160, 0) (green, this is apparently the English name for [フシギソウ](https://pente.koro-pokemon.com/zukan/002.shtml))
|
|
* squirtle = rgb(0, 0, 224) (blue, this is apparently the English name for [ゼニガメ](https://pente.koro-pokemon.com/zukan/007.shtml))
|
|
* gangnamstyle = rgb(160, 160, 0) (gold)
|
|
|
|
Apparently a very old Netscape-era trick, but still only heard about it yesterday.
|