Can someone explain what's going on for this code to produce green text:
<font color=”red”>Red, anyone?</font>
http://jsfiddle.net/WGSNX/7/. I assume it's something to do with the first ”
symbol, but why should HTML parse that differently to "
?
It is simple: = ”red” = 0red0 (" is not ascii so make 0) = 00ed0 (r is not hex so make 0) = 00ed00 (pad)
#00ed00 is green
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With