Forum Moderators: phranque

Message Too Old, No Replies

ASCII Code

for exponents

         

fashezee

1:54 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



quick question:

How can I type an exponent using ascii code?
I am aware of the <sup> tag but I am using photoshop.

oilman

8:55 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In ASCII you would use ALT-94 to create the ^ and then follow it with your exponent. IE: 2^3=8 same as 2*2*2=8 (note: that is not a full on ASCII statement you'd have to include the appropriate ASCII code for 2 and 3 as well). ASCII is simply a set of codes for characters and symbols it does not deal with formatting such as superscripting, bolding, color etc.

NickH

9:28 pm on Aug 12, 2003 (gmt 0)

10+ Year Member



You can use HTML entities &sup1; &sup2; and &sup3; for exponents 1, 2, and 3.

Nick

fashezee

9:48 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



2' what would be the ASCII code for something like this?

NickH

9:56 pm on Aug 12, 2003 (gmt 0)

10+ Year Member



I'm not sure what you mean by ASCII code.

Here is an authoritative list of character entity references in HTML 4: [w3.org ]

Nick