HTML URL Encodes
URL –Uniform Resource Locator
Most of the HTML/XHTML tags, hyperlinks, forms contain URL.
ASCII CODES
ASCII (American Standard Code for Information Interchange)
- It defines fixed character encoding it is the most common format used in computer and on the internet.
- It allocates printable characters and non printable control characters.
- In ASCII -7 BIT CODES 120 characters are defined.
- ASCII CODES-7 BIT consists 33 non-printable and 95 printable characters and includes alphabets, numbers, letters and control characters.
ASCII characters are represented in electronic devices like mobiles, computers, and calculators.
SCHEMES | DESCRIPTION |
---|---|
HTTP (HyperText Transfer Protocol) | http is not encrypted used in common web pages. |
HTTPS (Secure HyperText Transfer Protocol) | https is encrypted used in secure webpages. |
FTP (File Transfer Protocol) | ftp is used to download or to upload the files. |
FILE | Files located in your local disk. |
ASCII Charaters is divided into many groups like:
Control Characters (0–31 & 127) – It defines non printable characters.
Special Characters (32–47 / 58–64 / 91–96 / 123–126) – It defines all non-printable characters.
Numbers (30–39) – It defines arabic numerals from (0 to 9).
Letters (65–90 / 97–122) – It defines the upper case and lower case letter in two blocks.
ASCII CODES-7 BIT printable characters
Symbols | Decimals | HTML Entity Codes | Description |
32 | space | ||
! | 33 | ! | exclamation mark |
“ | 34 | “ | quotation mark |
# | 35 | # | number sign |
$ | 36 | $ | dollar sign |
% | 37 | % | percent sign |
& | 38 | & | ampersand |
‘ | 39 | ‘ | apostrophe |
( | 40 | ( | left parenthesis |
) | 41 | ) | right parenthesis |
* | 42 | * | asterisk |
+ | 43 | + | plus sign |
, | 44 | , | comma |
– | 45 | – | hyphen |
. | 46 | . | period |
/ | 47 | / | slash |
0 | 48 | 0 | digit 0 |
1 | 49 | 1 | digit 1 |
2 | 50 | 2 | digit 2 |
3 | 51 | 3 | digit 3 |
4 | 52 | 4 | digit 4 |
5 | 53 | 5 | digit 5 |
6 | 54 | 6 | digit 6 |
7 | 55 | 7 | digit 7 |
8 | 56 | 8 | digit 8 |
9 | 57 | 9 | digit 9 |
: | 58 | : | colon |
; | 59 | ; | semicolon |
< | 60 | < | less-than |
= | 61 | = | equals-to |
> | 62 | > | greater-than |
? | 63 | ? | question mark |
@ | 64 | @ | at sign |
A | 65 | A | uppercase A |
B | 66 | B | uppercase B |
C | 67 | C | uppercase C |
D | 68 | D | uppercase D |
E | 69 | E | uppercase E |
F | 70 | F | uppercase F |
G | 71 | G | uppercase G |
H | 72 | H | uppercase H |
I | 73 | I | uppercase I |
J | 74 | J | uppercase J |
K | 75 | K | uppercase K |
L | 76 | L | uppercase L |
M | 77 | M | uppercase M |
N | 78 | N | uppercase N |
O | 79 | O | uppercase O |
P | 80 | P | uppercase P |
Q | 81 | Q | uppercase Q |
R | 82 | R | uppercase R |
S | 83 | S | uppercase S |
T | 84 | T | uppercase T |
U | 85 | U | uppercase U |
V | 86 | V | uppercase V |
W | 87 | W | uppercase W |
X | 88 | X | uppercase X |
Y | 89 | Y | uppercase Y |
Z | 90 | Z | uppercase Z |
[ | 91 | [ | left square bracket |
\ | 92 | \ | backslash |
] | 93 | ] | right square bracket |
^ | 94 | ^ | caret |
_ | 95 | _ | underscore |
` | 96 | ` | grave accent |
a | 97 | a | lowercase a |
b | 98 | b | lowercase b |
c | 99 | c | lowercase c |
d | 100 | d | lowercase d |
e | 101 | e | lowercase e |
f | 102 | f | lowercase f |
g | 103 | g | lowercase g |
h | 104 | h | lowercase h |
i | 105 | i | lowercase i |
j | 106 | j | lowercase j |
k | 107 | k | lowercase k |
l | 108 | l | lowercase l |
m | 109 | m | lowercase m |
n | 110 | n | lowercase n |
o | 111 | o | lowercase o |
p | 112 | p | lowercase p |
q | 113 | q | lowercase q |
r | 114 | r | lowercase r |
s | 115 | s | lowercase s |
t | 116 | t | lowercase t |
u | 117 | u | lowercase u |
v | 118 | v | lowercase v |
w | 119 | w | lowercase w |
x | 120 | x | lowercase x |
y | 121 | y | lowercase y |
z | 122 | z | lowercase z |
{ | 123 | { | left curly brace |
| | 124 | | | vertical bar |
} | 125 | } | right curly brace |
~ | 126 | ~ | tilde |
ASCII Device control Characters
Symbols Names | Symbols | HTML Entity Codes | Description |
NUL | � | null character | |
SOH |  | start of header | |
STX |  | start of text | |
ETX |  | end of text | |
EOT |  | end of transmission | |
ENQ |  | enquiry | |
ACK |  | acknowledge | |
BEL |  | bell (ring) | |
BS |  | backspace | |
HT | 	 | horizontal tab | |
LF | | line feed | |
VT |  | vertical tab | |
FF |  | form feed | |
CR | | carriage return | |
SO |  | shift out | |
SI |  | shift in | |
DLE |  | data link escape | |
DC1 |  | device control 1 | |
DC2 |  | device control 2 | |
DC3 |  | device control 3 | |
DC4 |  | device control 4 | |
NAK |  | negative acknowledge | |
SYN |  | synchronize | |
ETB |  | end transmission block | |
CAN |  | cancel | |
EM |  | end of medium | |
SUB |  | substitute | |
ESC |  | escape | |
FS |  | file separator | |
GS |  | group separator | |
RS |  | record separator | |
US |  | unit separator |
Interview Questions & Answer
URL(Uniform Resource Locator)
Most of the HTML/XHTML tags, hyperlinks, forms contain URL.
- HTML Decoding is the opposite of the encoding process.
- HTML Encoding means to convert the document that contains special characters outside the range of normal seven-bit ASCII into a standard form.
- In the decoding process, the specially encoded characters are converted back to their original form.
ASCII(American Standard Code for Information Interchange)
• Fixed character encoding is the most common format used in computer and on the internet.
• This allocates printable characters and nonprintable control characters.
• ASCII – 7 BIT CODES 120 characters are defined.
• ASCII CODES- 7 BIT consists of 33 non-printable and 95 printable characters and includes alphabets, numbers, letters and control characters.
ASCII characters are represented in electronic devices like mobiles, computers, and calculators.