Menu
×
     ❯   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE

UTF-8 Basic Latin & Controls


Hex 0000-007F / Decimal 0-127.

This character set is the same as the original ASCII character set.

If you want a special characters displayed in HTML, you can use the HTML entity found in the table below.

If the character does not have an HTML entity, you can use the decimal (dec) or hexadecimal (hex) reference.

Example

<p>My name is Johnny &quot;Bang&quot; Johnson</p>
<p>My name is Johnny &#34;Bang&#34; Johnson</p>
<p>My name is Johnny &#x0022;Bang&#x0022; Johnson</p>

Will display as:

My name is Johnny "Bang" Johnson
My name is Johnny "Bang" Johnson
My name is Johnny "Bang" Johnson
Try it Yourself »
Char Dec Hex Entity Name
320020 SPACETry it
!330021 EXCLAMATION MARKTry it
"340022&quot;QUOTATION MARKTry it
#350023 NUMBER SIGNTry it
$360024 DOLLAR SIGNTry it
%370025 PERCENT SIGNTry it
&380026&amp;AMPERSANDTry it
'390027 APOSTROPHETry it
(400028 LEFT PARENTHESISTry it
)410029 RIGHT PARENTHESISTry it
*42002A ASTERISKTry it
+43002B PLUS SIGNTry it
,44002C COMMATry it
-45002D HYPHEN-MINUSTry it
.46002E FULL STOPTry it
/47002F SOLIDUSTry it
0480030 DIGIT ZEROTry it
1490031 DIGIT ONETry it
2500032 DIGIT TWOTry it
3510033 DIGIT THREETry it
4520034 DIGIT FOURTry it
5530035 DIGIT FIVETry it
6540036 DIGIT SIXTry it
7550037 DIGIT SEVENTry it
8560038 DIGIT EIGHTTry it
9570039 DIGIT NINETry it
:58003A COLONTry it
;59003B SEMICOLONTry it
<60003C&lt;LESS-THAN SIGNTry it
=61003D EQUALS SIGNTry it
>62003E&gt;GREATER-THAN SIGNTry it
?63003F QUESTION MARKTry it
@640040 COMMERCIAL ATTry it
A650041 LATIN CAPITAL LETTER ATry it
B660042 LATIN CAPITAL LETTER BTry it
C670043 LATIN CAPITAL LETTER CTry it
D680044 LATIN CAPITAL LETTER DTry it
E690045 LATIN CAPITAL LETTER ETry it
F700046 LATIN CAPITAL LETTER FTry it
G710047 LATIN CAPITAL LETTER GTry it
H720048 LATIN CAPITAL LETTER HTry it
I730049 LATIN CAPITAL LETTER ITry it
J74004A LATIN CAPITAL LETTER JTry it
K75004B LATIN CAPITAL LETTER KTry it
L76004C LATIN CAPITAL LETTER LTry it
M77004D LATIN CAPITAL LETTER MTry it
N78004E LATIN CAPITAL LETTER NTry it
O79004F LATIN CAPITAL LETTER OTry it
P800050 LATIN CAPITAL LETTER PTry it
Q810051 LATIN CAPITAL LETTER QTry it
R820052 LATIN CAPITAL LETTER RTry it
S830053 LATIN CAPITAL LETTER STry it
T840054 LATIN CAPITAL LETTER TTry it
U850055 LATIN CAPITAL LETTER UTry it
V860056 LATIN CAPITAL LETTER VTry it
W870057 LATIN CAPITAL LETTER WTry it
X880058 LATIN CAPITAL LETTER XTry it
Y890059 LATIN CAPITAL LETTER YTry it
Z90005A LATIN CAPITAL LETTER ZTry it
[91005B LEFT SQUARE BRACKETTry it
\92005C REVERSE SOLIDUSTry it
]93005D RIGHT SQUARE BRACKETTry it
^94005E CIRCUMFLEX ACCENTTry it
_95005F LOW LINETry it
`960060 GRAVE ACCENTTry it
a970061 LATIN SMALL LETTER ATry it
b980062 LATIN SMALL LETTER BTry it
c990063 LATIN SMALL LETTER CTry it
d1000064 LATIN SMALL LETTER DTry it
e1010065 LATIN SMALL LETTER ETry it
f1020066 LATIN SMALL LETTER FTry it
g1030067 LATIN SMALL LETTER GTry it
h1040068 LATIN SMALL LETTER HTry it
i1050069 LATIN SMALL LETTER ITry it
j106006A LATIN SMALL LETTER JTry it
k107006B LATIN SMALL LETTER KTry it
l108006C LATIN SMALL LETTER LTry it
m109006D LATIN SMALL LETTER MTry it
n110006E LATIN SMALL LETTER NTry it
o111006F LATIN SMALL LETTER OTry it
p1120070 LATIN SMALL LETTER PTry it
q1130071 LATIN SMALL LETTER QTry it
r1140072 LATIN SMALL LETTER RTry it
s1150073 LATIN SMALL LETTER STry it
t1160074 LATIN SMALL LETTER TTry it
u1170075 LATIN SMALL LETTER UTry it
v1180076 LATIN SMALL LETTER VTry it
w1190077 LATIN SMALL LETTER WTry it
x1200078 LATIN SMALL LETTER XTry it
y1210079 LATIN SMALL LETTER YTry it
z122007A LATIN SMALL LETTER ZTry it
{123007B LEFT CURLY BRACKETTry it
|124007C VERTICAL LINETry it
}125007D RIGHT CURLY BRACKETTry it
~126007E TILDETry it


C0 Control Characters

These control characters (range 0-31, plus 127) were originally designed to control hardware devices.

Control characters (except horizontal tab, carriage return, and line feed) have nothing to do inside an HTML document.

Char Dec Hex Description
NUL 0 0000 null character
SOH 1 0001 start of header
STX 2 0002 start of text
ETX 3 0003 end of text
EOT 4 0004 end of transmission
ENQ 5 0005 enquiry
ACK 6 0006 acknowledge
BEL 7 0007 bell (ring)
BS 8 0008 backspace
HT 9 0009 horizontal tab
LF 10 000A line feed
VT 11 000B vertical tab
FF 12 000C form feed
CR 13 000D carriage return
SO 14 000E shift out
SI 15 000F shift in
DLE 16 0010 data link escape
DC1 17 0011 device control 1
DC2 18 0012 device control 2
DC3 19 0013 device control 3
DC4 20 0014 device control 4
NAK 21 0015 negative acknowledge
SYN 22 0016 synchronize
ETB 23 0017 end transmission block
CAN 24 0018 cancel
EM 25 0019 end of medium
SUB 26 001A substitute
ESC 27 001B escape
FS 28 001C file separator
GS 29 001D group separator
RS 30 001E record separator
US 31 001F unit separator
       
DEL 127 007F delete (rubout)


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.