HTML: font color=”red” becomes green
81–90 of 99 posts
Re: HTML: font color=”red” becomes green
#82Re: HTML: font color=”red” becomes green
#83Re: HTML: font color=”red” becomes green
#84The tag is not supported in HTML5. Use CSS instead. Source: http://www.w3schools.com/tags/tag_font.asp
Re: HTML: font color=”red” becomes green
#851) Curly quotes are not a valid surrounding for values. 2) will usually be interpreted as a value by browsers, even though it's illegal, because everything on the web is wrong 3) The browser sees curly quotes as part of baz 4) For lord only knows what reason, the most basic interpretation of that curly quote appears to be the color green. That'll be somewhere in the CSS spec. I don't care to look it up. If you change…
Re: HTML: font color=”red” becomes green
#86Re: HTML: font color=”red” becomes green
#87Re: HTML: font color=”red” becomes green
#88Wow. I haven't seen a tag in years. My thought processes loading this: • Ok, that is in fact green. • I wonder if this is related to the colour name parsing weirdness that was on HN a couple of weeks ago? • Heeeey, those aren't ASCII quotes!
Green - with ascii quotes and an invisible seperator. http://jsfiddle.net/WGSNX/264/
Re: HTML: font color=”red” becomes green
#891) Curly quotes are not a valid surrounding for values. 2) will usually be interpreted as a value by browsers, even though it's illegal, because everything on the web is wrong 3) The browser sees curly quotes as part of baz 4) For lord only knows what reason, the most basic interpretation of that curly quote appears to be the color green. That'll be somewhere in the CSS spec. I don't care to look it up. If you change…
I believe that HTML 5 allows for unquoted values. As long as the attribute doors not contain HTML special characters or spaces, it's legal to omit them.