외로운 Nova의 작업실
HTML 인코딩 본문
- HTML 인코딩
HTML의 속성과 태그부분에 사용할 수 있는 인코딩이 있습니다. 바로 아래와 같습니다.
Symbol | ASCII Decimal Code |
ASCII Hexadecimal Code |
HTML Decimal Code |
HTML Hexadecimal Code |
HTML Name Code |
Comments | Character Type |
|
^@ | 0 | 0 | � | � | - | null character | control | |
^A | 1 | 1 |  |  | - | start of header | control | |
^B | 2 | 2 |  |  | - | start of text | control | |
^C | 3 | 3 |  |  | - | end of text | control | |
^D | 4 | 4 |  |  | - | end of transmission | control | |
^E | 5 | 5 |  |  | - | enquiry | control | |
^F | 6 | 6 |  |  | - | acknowledge | control | |
^G | 7 | 7 |  |  | - | bell (ring) | control | |
^H | 8 | 8 |  |  | - | backspace | control | |
^I | 9 | 9 | 	 | 	 | 	 | character tabulation / horizontal tabulation | control | |
^J | 10 | A | | 
 | 
 | line feed (lf) | control | |
^K | 11 | B |  |  | - | vertical tab | control | |
^L | 12 | C |  |  | - | form feed | control | |
^M | 13 | D | | 
 | - | carriage return | control | |
^N | 14 | E |  |  | - | shift out | control | |
^O | 15 | F |  |  | - | shift in | control | |
^P | 16 | 10 |  |  | - | data link escape | control | |
^Q | 17 | 11 |  |  | - | device control 1 | control | |
^R | 18 | 12 |  |  | - | device control 2 | control | |
^S | 19 | 13 |  |  | - | device control 3 | control | |
^T | 20 | 14 |  |  | - | device control 4 | control | |
^U | 21 | 15 |  |  | - | negative acknowledge | control | |
^V | 22 | 16 |  |  | - | synchronize | control | |
^W | 23 | 17 |  |  | - | end transmission block | control | |
^X | 24 | 18 |  |  | - | cancel | control | |
^Y | 25 | 19 |  |  | - | end of medium | control | |
^Z | 26 | 1A |  |  | - | substitute | control | |
^[ | 27 | 1B |  |  | - | escape | control | |
^\ | 28 | 1C |  |  | - | file separator | control | |
^] | 29 | 1D |  |  | - | group separator | control | |
^^ | 30 | 1E |  |  | - | record separator | control | |
^_ | 31 | 1F |  |  | - | unit separator | control | |
32 | 20 |   |   | - | space | printable | ||
! | 33 | 21 | ! | ! | - | exclamation point | printable | |
" | 34 | 22 | " | " | " | quotation mark | printable | |
" | 34 | 22 | " | " | " | quotation mark | printable | |
# | 35 | 23 | # | # | - | number sign | printable | |
$ | 36 | 24 | $ | $ | - | dollar sign | printable | |
% | 37 | 25 | % | % | - | percent sign | printable | |
& | 38 | 26 | & | & | & | ampersand | printable | |
& | 38 | 26 | & | & | & | ampersand | printable | |
' | 39 | 27 | ' | ' | - | single quote | printable | |
( | 40 | 28 | ( | ( | - | opening parenthesis | printable | |
) | 41 | 29 | ) | ) | - | closing parenthesis | printable | |
* | 42 | 2A | * | * | * | asterisk | printable | |
* | 42 | 2A | * | * | * | asterisk | printable | |
+ | 43 | 2B | + | + | - | plus sign | printable | |
, | 44 | 2C | , | , | - | comma | printable | |
- | 45 | 2D | - | - | - | minus sign - hyphen | printable | |
. | 46 | 2E | . | . | - | period | printable | |
/ | 47 | 2F | / | / | - | slash | printable | |
0 | 48 | 30 | 0 | 0 | - | zero | printable | |
1 | 49 | 31 | 1 | 1 | - | one | printable | |
2 | 50 | 32 | 2 | 2 | - | two | printable | |
3 | 51 | 33 | 3 | 3 | - | three | printable | |
4 | 52 | 34 | 4 | 4 | - | four | printable | |
5 | 53 | 35 | 5 | 5 | - | five | printable | |
6 | 54 | 36 | 6 | 6 | - | six | printable | |
7 | 55 | 37 | 7 | 7 | - | seven | printable | |
8 | 56 | 38 | 8 | 8 | - | eight | printable | |
9 | 57 | 39 | 9 | 9 | - | nine | printable | |
: | 58 | 3A | : | : | - | colon | printable | |
; | 59 | 3B | ; | ; | - | semicolon | printable | |
< | 60 | 3C | < | < | < | less-than sign | printable | |
< | 60 | 3C | < | < | < | less-than sign | printable | |
= | 61 | 3D | = | = | - | equal sign | printable | |
> | 62 | 3E | > | > | > | greater-than sign | printable | |
> | 62 | 3E | > | > | > | greater-than sign | printable | |
? | 63 | 3F | ? | ? | - | question mark | printable | |
@ | 64 | 40 | @ | @ | - | at symbol | printable | |
A | 65 | 41 | A | A | - | upper case A | printable | |
B | 66 | 42 | B | B | - | upper case B | printable | |
C | 67 | 43 | C | C | - | upper case C | printable | |
D | 68 | 44 | D | D | - | upper case D | printable | |
E | 69 | 45 | E | E | - | upper case E | printable | |
F | 70 | 46 | F | F | - | upper case F | printable | |
G | 71 | 47 | G | G | - | upper case G | printable | |
H | 72 | 48 | H | H | - | upper case H | printable | |
I | 73 | 49 | I | I | - | upper case I | printable | |
J | 74 | 4A | J | J | - | upper case J | printable | |
K | 75 | 4B | K | K | - | upper case K | printable | |
L | 76 | 4C | L | L | - | upper case L | printable | |
M | 77 | 4D | M | M | - | upper case M | printable | |
N | 78 | 4E | N | N | - | upper case N | printable | |
O | 79 | 4F | O | O | - | upper case O | printable | |
P | 80 | 50 | P | P | - | upper case P | printable | |
Q | 81 | 51 | Q | Q | - | upper case Q | printable | |
R | 82 | 52 | R | R | - | upper case R | printable | |
S | 83 | 53 | S | S | - | upper case S | printable | |
T | 84 | 54 | T | T | - | upper case T | printable | |
U | 85 | 55 | U | U | - | upper case U | printable | |
V | 86 | 56 | V | V | - | upper case V | printable | |
W | 87 | 57 | W | W | - | upper case W | printable | |
X | 88 | 58 | X | X | - | upper case X | printable | |
Y | 89 | 59 | Y | Y | - | upper case Y | printable | |
Z | 90 | 5A | Z | Z | - | upper case Z | printable | |
[ | 91 | 5B | [ | [ | [ | left square bracket | printable | |
[ | 91 | 5B | [ | [ | [ | left square bracket | printable | |
\ | 92 | 5C | \ | \ | - | backslash | printable | |
] | 93 | 5D | ] | ] | ] | right square bracket | printable | |
] | 93 | 5D | ] | ] | ] | right square bracket | printable | |
^ | 94 | 5E | ^ | ^ | - | caret - circumflex | printable | |
_ | 95 | 5F | _ | _ | - | underscore | printable | |
` | 96 | 60 | ` | ` | ` | grave accent | printable | |
` | 96 | 60 | ` | ` | ` | grave accent | printable | |
a | 97 | 61 | a | a | - | lower case a | printable | |
b | 98 | 62 | b | b | - | lower case b | printable | |
c | 99 | 63 | c | c | - | lower case c | printable | |
d | 100 | 64 | d | d | - | lower case d | printable | |
e | 101 | 65 | e | e | - | lower case e | printable | |
f | 102 | 66 | f | f | - | lower case f | printable | |
g | 103 | 67 | g | g | - | lower case g | printable | |
h | 104 | 68 | h | h | - | lower case h | printable | |
i | 105 | 69 | i | i | - | lower case i | printable | |
j | 106 | 6A | j | j | - | lower case j | printable | |
k | 107 | 6B | k | k | - | lower case k | printable | |
l | 108 | 6C | l | l | - | lower case l | printable | |
m | 109 | 6D | m | m | - | lower case m | printable | |
n | 110 | 6E | n | n | - | lower case n | printable | |
o | 111 | 6F | o | o | - | lower case o | printable | |
p | 112 | 70 | p | p | - | lower case p | printable | |
q | 113 | 71 | q | q | - | lower case q | printable | |
r | 114 | 72 | r | r | - | lower case r | printable | |
s | 115 | 73 | s | s | - | lower case s | printable | |
t | 116 | 74 | t | t | - | lower case t | printable | |
u | 117 | 75 | u | u | - | lower case u | printable | |
v | 118 | 76 | v | v | - | lower case v | printable | |
w | 119 | 77 | w | w | - | lower case w | printable | |
x | 120 | 78 | x | x | - | lower case x | printable | |
y | 121 | 79 | y | y | - | lower case y | printable | |
z | 122 | 7A | z | z | - | lower case z | printable | |
{ | 123 | 7B | { | { | { | left curly bracket | printable | |
{ | 123 | 7B | { | { | { | left curly bracket | printable | |
| | 124 | 7C | | | | | | | vertical line | printable | |
| | 124 | 7C | | | | | | | vertical line | printable | |
| | 124 | 7C | | | | | | | vertical line | printable | |
} | 125 | 7D | } | } | } | right curly bracket | printable | |
} | 125 | 7D | } | } | } | right curly bracket | printable | |
~ | 126 | 7E | ~ | ~ | - |
아래는 예시입니다.
<img onerror=alert("1")>
//위 코드를 아래와 같이 변경할 수 있습니다.
<img oneerror=alert("1")>
'Programming > Javascript&Html' 카테고리의 다른 글
URL 유용한 기능들 (0) | 2023.02.15 |
---|---|
자바스크립트 유용한 기능들 (0) | 2023.02.15 |
Comments