html - What attributes does bgcolor support -
this question has answer here:
- why html think “chucknorris” color? 7 answers
the bgcolor tag takes different words , changes color.
what happens? take ascii values?
<html> <head> <title> background color </title> </head> <body bgcolor="daniel"> </body> </html> when assign random words bgcolor tag, applies kinda color. how work?
by taking screenshot of page rendered code, , selecting rendered pink-ish color in photoshop, can see it's #da00e0.
daniel, a-f , 0-9 kept, , others zeroed.
i'm pretty sure if use bgcolor="cyrille" you'll have plain red (#c00000).
(edit: actually, cyrille gives #c000e0)
by way, shouldn't using bgcolor attribute. css here 1 reason!
Comments
Post a Comment