CS4173 > Mats > examples/ > XHTML/ > entities/ > ASCII Table

J. Blustein

Web-centric Computing

[Course | Announcements | Materials | Resources]

Some Example Code

ASCII Codes For Non-Alphanumeric Printable Characters

These hexadecimal codes are for use in URLs. The symbols are presented in tabular form and also in lists by category.

Table of All

Selected ASCII Values
hex char
hex char
%20  (blank)
%21 !
%22 "
%23 #
%24 $
%25 %
%26 &
%27 '
%28 (
%29 )
%2a *
hex char
hex char
%2b +
%2c ,
%2d -
%2e .
%2f /
%3a :
%3b ;
%3c <
%3d =
%3e >
%3f ?
hex char
hex char
%40 @
%5b [
%5c \
%5d ]
%5e ^
%5f _
%60 `
%7b {
%7c |
%7d }
%7e ~

By Category

The categories are

  1. General Punctuation
  2. Brackets
  3. Mathematical Symbols
  4. Miscellaneous Characters

[Jump to Top]

  1. General Punctuation

    , (comma)
    %2c
    " (double quote mark)
    %22
    ` (left (opening) single quotation mark)
    %60
    ' (right (closing) quotation mark, apostrophe)
    %27
    - (hyphen)
    %2d
    : (colon)
    %3a
    ; (semicolon)
    %3b
    ? (question mark)
    %3f
    . (full stop, period)
    %2e
    ! (exclamation point, bang)
    %21

    [Jump to category list]

  2. Brackets

    ( (left parenthesis)
    %28
    ) (right parenthesis)
    %29
    [ (left (square) bracket)
    %5b
    ] (right (square) bracket)
    %5d
    { (left (opening) brace)
    %7b
    } (right (closing) brace)
    %7d
    < (left (opening) angle bracket, less-than sign)
    %3c
    > (right (closing) angle bracket, greater-than sign)
    %3e

    [Jump to category list]

  3. Mathematical Symbols

    + (plus sign)
    %2b
    - (negative sign (minus sign is entity &minus; or &8722;))
    %2d
    * (asterisk, multiplication sign)
    %2a
    / (slash, division sign)
    %2f
    = (equal sign)
    %3d
    < (less-than sign, left (opening) angle bracket)
    %3c
    > (greater-than sign, right (closing) angle bracket)
    %3e
    . (decimal point)
    %2e

    [Jump to category list]

  4. Miscellaneous Characters

    (blank), (space)
    %20
    In the CGI specification + can be used for space too
    # (number sign, hash sign, hash mark, octophorp)
    %23
    $ (dollar sign)
    %24
    % (percent sign)
    %25
    & (ampersand, and-sign)
    %26
    @ (commercial at-sign)
    %40
    / (slash, division sign)
    %2f
    \ (back slash)
    %5c
    ^ (caret)
    %5e
    _ (underscore)
    %5f
    | (vertical bar)
    %7c
    ~ (tilde)
    %7e

    [Jump to category list]


http://www.cs.dal.ca/~jamie/course/CS/4173/examples/XHTML/ASCII.html
Version:
07 December 2003
CS 4173 Prof.:
J. Blustein <jamie@cs.dal.ca>

This document is written in valid XHTML 1.0