PDA

View Full Version : OT: HTML Coding Question


Karim
04-10-2004, 03:50 PM
How does one code the "degree symbol" and "less than or equal to" <= ?

dacman
04-10-2004, 04:02 PM
You have to use the special character set --

less than is &.l.t.;
greater than is &.g.t.;
degree is &.d.e.g.;

remove the periods and you get

less than is &lt;
greater than is &gt;
degree is &deg;

dacman
04-10-2004, 04:06 PM
http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html

Vince
04-10-2004, 04:40 PM
Hmmm...

Zē+ is now no longer a mystery to anyone...

Karim
04-10-2004, 05:52 PM
Thank-you. So I guess there is no way to combine less than with equal to so that they are on top of one another like the way it would be hand written?

Bonegavel
04-10-2004, 06:28 PM
You mean ≤ ?

Open character map in windows and look for the symbol.

Bonegavel
04-10-2004, 06:38 PM
≥ ≤

for these, hold CTL + 242, 243 respectively.

[edit - must use numpad with numlock on]

Maple Leafs
04-10-2004, 09:09 PM
Keep in mind that some browsers or e-mail readers have trouble with special characters, and may display them as a ?. This is also an issue if you're using an HTML page for content entry (like posting here, for example).

To avoid that, use the full ascii code in your HTML (e.g. - &.#.1.7.4.;. minus the dots.)

Karim
04-11-2004, 12:44 PM
Great, thanks!

Karim
04-11-2004, 01:10 PM
http://www.barzilai.org/math_sym.htm

In case anyone wants a reference...

GoldenEagle
04-11-2004, 01:48 PM
≥ ≤

for these, hold CTL + 242, 243 respectively.

[edit - must use numpad with numlock on]
It is actually ALT 242, 243