I have noticed that the symbols ≥ and ≤ are broken on Internet Explorer: they display as ≥ and ≤ instead of as the actual symbol (at least on IE9 under Win7).
Is there any way to display the actual characters ≤ and ≥ on Internet Explorer (e.g. another way to write it, a javascript fix…)? I’d need to show them on a few places on my site, and I’d like the site to be viewable for Internet Explorer too.
You can use the characters “≥” and “≤” directly, provided that you page is UTF-8 encoded and declared as such. If this is not possible or convenient enough, you can use the character references
≥and≤(or their decimal equivalents).Alternatively, you can use the older entity references
≥and≤, which have the same meaning as≥and≤but are much better supported (universally).Entity references such as
≥(as opposite to the set of entities as defined in HTML 4.01) should be avoided. They add nothing to the expressive power of the HTML language; they just provide a deceptive quasi-mnemonic alternative to character references. They were introduced in HTML5 drafts mainly because they are defined in MathML, and less than two years ago no browser supported them, so there is still a large number of browsers that treat them as undefined, displaying them literally.