Ascii code for less than or equal to
Asked Answered
M

6

23

I cant find it on google.

What is the ASCII code for less than or equal to. I need this to be outputted in my browser

Maneater answered 27/8, 2012 at 10:11 Comment(6)
That symbol is not in the ASCII code table.Perrins
OK any way so i can use it in my browser ?..thinking of using it as an imageManeater
You could copy and paste the symbol above...Perjury
Alternatively, then HTML entity is ≤Perjury
@NicoBurns perfect..please post it as an answer..ill accept !Maneater
Forget ASCII. ASCII is so 1990. Think in Unicode. :)Snippet
P
37

The character isn't in the ASCII table. However, there are several ways to embed it in HTML.

Firstly, using HTML entities: either ≤, ≤, or &#x2264. Just place this code in your HTML where you want the symbol to be.

Alternatively, ensure that your html file is utf8 encoded, and include the meta tag <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in the <head> of your document. You can then copy and paste the character directly into your document.

Perjury answered 27/8, 2012 at 10:56 Comment(0)
L
11

You can use &le; for ( ≤ ) or &ge; ( ≥ )

Lindquist answered 27/8, 2012 at 10:21 Comment(0)
I
8

according to this documentation.

HTML Entity (decimal)   &#8804;
HTML Entity (hex)   &#x2264;
HTML Entity (named) &le;
Incrustation answered 27/8, 2012 at 10:26 Comment(0)
A
4

ALT-243 = ≤
ALT-242 = ≥

ASCII is very handy.

Algie answered 19/4, 2017 at 15:45 Comment(0)
R
1

That character isn't in the ASCII table. You may want to look into Unicode.

Richers answered 27/8, 2012 at 10:15 Comment(0)
L
1

I always just underline < and > which are standard keyboard characters. It may be a little clugey, but it works, and it saves remembering numbers.
Frank

Levins answered 11/3, 2013 at 19:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.