html - What attributes does bgcolor support -


this question has answer here:

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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -