Вы находитесь на странице: 1из 23

HTML complete reference

Ordered Alphabetically

 NN: indicates the earliest version of Netscape that supports the tag
 IE: indicates the earliest version of Internet Explorer that supports the tag
 DTD: indicates in which XHTML 1.0 DTD the tag is allowed. S=Strict, T=Transitional, and
F=Frameset

Tag Description NN IE DTD


<!--...--> Defines a comment 3.0 3.0 STF
<!DOCTYPE> Defines the document type STF
<a> Defines an anchor 3.0 3.0 STF
<abbr> Defines an abbreviation 6.2 STF
<acronym> Defines an acronym 6.2 4.0 STF
<address> Defines an address element 4.0 4.0 STF
<applet> Deprecated. Defines an applet 2.0 3.0 TF
<area> Defines an area inside an image map 3.0 3.0 STF
<b> Defines bold text 3.0 3.0 STF
<base> Defines a base URL for all the links in a page 3.0 3.0 STF
<basefont> Deprecated. Defines a base font 3.0 3.0 TF
<bdo> Defines the direction of text display 6.2 5.0 STF
<big> Defines big text 3.0 3.0 STF
<blockquote> Defines a long quotation 3.0 3.0 STF
<body> Defines the body element 3.0 3.0 STF
<br> Inserts a single line break 3.0 3.0 STF
<button> Defines a push button 6.2 4.0 STF
<caption> Defines a table caption 3.0 3.0 STF
<center> Deprecated. Defines centered text 3.0 3.0 TF
<cite> Defines a citation 3.0 3.0 STF
<code> Defines computer code text 3.0 3.0 STF
<col> Defines attributes for table columns 3.0 STF
<colgroup> Defines groups of table columns 3.0 STF
<dd> Defines a definition description 3.0 3.0 STF
<del> Defines deleted text 6.2 4.0 STF
<dir> Deprecated. Defines a directory list 3.0 3.0 TF
<div> Defines a section in a document 3.0 3.0 STF
<dfn> Defines a definition term 3.0 STF
<dl> Defines a definition list 3.0 3.0 STF
<dt> Defines a definition term 3.0 3.0 STF
<em> Defines emphasized text 3.0 3.0 STF
<fieldset> Defines a fieldset 6.2 4.0 STF
<font> Deprecated. Defines text font, size, and color 3.0 3.0 TF
<form> Defines a form 3.0 3.0 STF
<frame> Defines a sub window (a frame) 3.0 3.0 F
<frameset> Defines a set of frames 3.0 3.0 F
<h1> to <h6> Defines header 1 to header 6 3.0 3.0 STF
<head> Defines information about the document 3.0 3.0 STF
<hr> Defines a horizontal rule 3.0 3.0 STF
<html> Defines an html document 3.0 3.0 STF
<i> Defines italic text 3.0 3.0 STF
<iframe> Defines an inline sub window (frame) 6.0 4.0 TF
<img> Defines an image 3.0 3.0 STF
<input> Defines an input field 3.0 3.0 STF
<ins> Defines inserted text 6.2 4.0 STF
<isindex> Deprecated. Defines a single-line input field 3.0 3.0 TF
<kbd> Defines keyboard text 3.0 3.0 STF
<label> Defines a label for a form control 6.2 4.0 STF
<legend> Defines a title in a fieldset 6.2 4.0 STF
<li> Defines a list item 3.0 3.0 STF
<link> Defines a resource reference 4.0 3.0 STF
<map> Defines an image map 3.0 3.0 STF
<menu> Deprecated. Defines a menu list 3.0 3.0 TF
<meta> Defines meta information 3.0 3.0 STF
<noframes> Defines a noframe section 3.0 3.0 TF
<noscript> Defines a noscript section 3.0 3.0 STF
<object> Defines an embedded object 3.0 STF
<ol> Defines an ordered list 3.0 3.0 STF
<optgroup> Defines an option group 6.0 6.0 STF
<option> Defines an option in a drop-down list 3.0 3.0 STF
<p> Defines a paragraph 3.0 3.0 STF
<param> Defines a parameter for an object 3.0 3.0 STF
<pre> Defines preformatted text 3.0 3.0 STF
<q> Defines a short quotation 6.2 STF
<s> Deprecated. Defines strikethrough text 3.0 3.0 TF
<samp> Defines sample computer code 3.0 3.0 STF
<script> Defines a script 3.0 3.0 STF
<select> Defines a selectable list 3.0 3.0 STF
<small> Defines small text 3.0 3.0 STF
<span> Defines a section in a document 4.0 3.0 STF
<strike> Deprecated. Defines strikethrough text 3.0 3.0 TF
<strong> Defines strong text 3.0 3.0 STF
<style> Defines a style definition 4.0 3.0 STF
<sub> Defines subscripted text 3.0 3.0 STF
<sup> Defines superscripted text 3.0 3.0 STF
<table> Defines a table 3.0 3.0 STF
<tbody> Defines a table body 4.0 STF
<td> Defines a table cell 3.0 3.0 STF
<textarea> Defines a text area 3.0 3.0 STF
<tfoot> Defines a table footer 4.0 STF
<th> Defines a table header 3.0 3.0 STF
<thead> Defines a table header 4.0 STF
<title> Defines the document title 3.0 3.0 STF
<tr> Defines a table row 3.0 3.0 STF
<tt> Defines teletype text 3.0 3.0 STF
<u> Deprecated. Defines underlined text 3.0 3.0 TF
<ul> Defines an unordered list 3.0 3.0 STF
<var> Defines a variable 3.0 3.0 STF
<xmp> Deprecated. Defines preformatted text 3.0 3.0

Start tag Purpose NN IE DTD

Basic Tags
<!DOCTYPE> Defines the document type STF
<html> Defines an html document 3.0 3.0 STF
<body> Defines the body element 3.0 3.0 STF
<h1> to <h6> Defines header 1 to header 6 3.0 3.0 STF
<p> Defines a paragraph 3.0 3.0 STF
<br> Inserts a single line break 3.0 3.0 STF
<hr> Defines a horizontal rule 3.0 3.0 STF
<!--...--> Defines a comment 3.0 3.0 STF

Char Format
<b> Defines bold text 3.0 3.0 STF
<font> Deprecated. Defines text font, size, and color 3.0 3.0 TF
<i> Defines italic text 3.0 3.0 STF
<em> Defines emphasized text 3.0 3.0 STF
<big> Defines big text 3.0 3.0 STF
<strong> Defines strong text 3.0 3.0 STF
<small> Defines small text 3.0 3.0 STF
<sup> Defines superscripted text 3.0 3.0 STF
<sub> Defines subscripted text 3.0 3.0 STF
<bdo> Defines the direction of text display 6.2 5.0 STF
<u> Deprecated. Defines underlined text 3.0 3.0 TF

Output
<pre> Defines preformatted text 3.0 3.0 STF
<code> Defines computer code text 3.0 3.0 STF
<tt> Defines teletype text 3.0 3.0 STF
<kbd> Defines keyboard text 3.0 3.0 STF
<var> Defines a variable 3.0 3.0 STF
<dfn> Defines a definition term 3.0 STF
<samp> Defines sample computer code 3.0 3.0 STF
<xmp> Deprecated. Defines preformatted text 3.0 3.0

Blocks
<acronym> Defines an acronym 6.2 4.0 STF
<abbr> Defines an abbreviation 6.2 STF
<address> Defines an address element 4.0 4.0 STF
<blockquote> Defines a long quotation 3.0 3.0 STF
<center> Deprecated. Defines centered text 3.0 3.0 TF
<q> Defines a short quotation 6.2 4.0 STF
<cite> Defines a citation 3.0 3.0 STF
<ins> Defines inserted text 6.2 4.0 STF
<del> Defines deleted text 6.2 4.0 STF
<s> Deprecated. Defines strikethrough text 3.0 3.0 TF
<strike> Deprecated. Defines strikethrough text 3.0 3.0 TF

Links
<a> Defines an anchor 3.0 3.0 STF
<link> Defines a resource reference 4.0 3.0 STF

Frames
<frame> Defines a sub window (a frame) 3.0 3.0 F
<frameset> Defines a set of frames 3.0 3.0 F
<noframes> Defines a noframe section 3.0 3.0 TF
<iframe> Defines an inline sub window (frame) 6.0 4.0 TF

Input
<form> Defines a form 3.0 3.0 STF
<input> Defines an input field 3.0 3.0 STF
<textarea> Defines a text area 3.0 3.0 STF
<button> Defines a push button 6.2 4.0 STF
<select> Defines a selectable list 3.0 3.0 STF
<optgroup> Defines an option group 6.0 6.0 STF
<option> Defines an item in a list box 3.0 3.0 STF
<label> Defines a label for a form control 6.2 4.0 STF
<fieldset> Defines a fieldset 6.2 4.0 STF
<legend> Defines a title in a fieldset 6.2 4.0 STF
<isindex> Deprecated. Defines a single-line input field 3.0 3.0 TF

Lists
<ul> Defines an unordered list 3.0 3.0 STF
<ol> Defines an ordered list 3.0 3.0 STF
<li> Defines a list item 3.0 3.0 STF
<dir> Deprecated. Defines a directory list 3.0 3.0 TF
<dl> Defines a definition list 3.0 3.0 STF
<dt> Defines a definition term 3.0 3.0 STF
<dd> Defines a definition description 3.0 3.0 STF
<menu> Deprecated. Defines a menu list 3.0 3.0 TF

Images
<img> Defines an image 3.0 3.0 STF
<map> Defines an image map 3.0 3.0 STF
<area> Defines an area inside an image map 3.0 3.0 STF

Tables
<table> Defines a table 3.0 3.0 STF
<caption> Defines a table caption 3.0 3.0 STF
<th> Defines a table header 3.0 3.0 STF
<tr> Defines a table row 3.0 3.0 STF
<td> Defines a table cell 3.0 3.0 STF
<thead> Defines a table header 4.0 STF
<tbody> Defines a table body 4.0 STF
<tfoot> Defines a table footer 4.0 STF
<col> Defines attributes for table columns 3.0 STF
<colgroup> Defines groups of table columns 3.0 STF

Styles
<style> Defines a style definition 4.0 3.0 STF
<div> Defines a section in a document 3.0 3.0 STF
<span> Defines a section in a document 4.0 3.0 STF

Meta Info
<head> Defines information about the document 3.0 3.0 STF
<title> Defines the document title 3.0 3.0 STF
<meta> Defines meta information 3.0 3.0 STF
<base> Defines a base URL for all the links in a page 3.0 3.0 STF
<basefont> Deprecated. Defines a base font 3.0 3.0 TF

Programming
<script> Defines a script 3.0 3.0 STF
<noscript> Defines a noscript section 3.0 3.0 STF
<applet> Deprecated. Defines an applet 2.0 3.0 TF
<object> Defines an embedded object 3.0 STF
<param> Defines a parameter for an object 3.0 3.0 STF

HTML tags can have attributes. The special attributes for each tag are listed under each tag
description. The attributes listed here are the core and language attributes that are standard for all
tags (with a few exceptions).

Core Attributes

Not valid in base, head, html, meta, param, script, style, and title elements.

Attribute Value Description


class class_rule or style_rule The class of the element
id id_name A unique id for the element
style style_definition An inline style definition
title tooltip_text A text to display in a tool tip

Language Attributes

Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.

Attribute Value Description


dir ltr | rtl Sets the text direction
lang language_code Sets the language code

Keyboard Attributes
Attribute Value Description
accesskey character Sets a keyboard shortcut to access an
element
tabindex number Sets the tab order of an element

New to HTML 4.0 was the ability to let HTML events trigger actions in the browser, like starting a
JavaScript when a user clicks on an HTML element. Below is a list of attributes that can be inserted
into HTML tags to define event actions.

If you want to learn more about programming with these events, you should study our JavaScript
tutorial and our DHTML tutorial.

Window Events

Only valid in body and frameset elements

Attribute Value Description


onload script Script to be run when a document loads
onunload script Script to be run when a document unloads

Form Element Events

Only valid in form elements.

Attribute Value Description


onchange script Script to be run when the element changes
onsubmit script Script to be run when the form is submitted
onreset script Script to be run when the form is reset
onselect script Script to be run when the element is selected
onblur script Script to be run when the element loses focus
onfocus script Script to be run when the element gets focus

Keyboard Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title
elements.

Attribute Value Description


onkeydown script What to do when key is pressed
onkeypress script What to do when key is pressed and released
onkeyup script What to do when key is released

Mouse Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title
elements.
Attribute Value Description
onclick script What to do on a mouse click
ondblclick script What to do on a mouse doubleclick
onmousedown script What to do when mouse button is pressed
onmousemove script What to do when mouse pointer moves
onmouseover script What to do when mouse pointer moves over an element
onmouseout script What to do when mouse pointer moves out of an element
onmouseup script What to do when mouse button is released

HTML Colors

The table below provides a list of the color names that are supported by all major browsers.

Note: If you want your pages to validate with an HTML or a CSS validator, W3C has listed 16 color
names that you can use: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple,
red, silver, teal, white, and yellow. If you want to use other colors, you must specify their RGB or
HEX value.

Click on a color name (or a hex value) to view the color as the background-color along with different
text colors:

Color Name Color HEX Color


AliceBlue #F0F8FF
AntiqueWhite #FAEBD7
Aqua #00FFFF
Aquamarine #7FFFD4
Azure #F0FFFF
Beige #F5F5DC
Bisque #FFE4C4
Black #000000
BlanchedAlmond #FFEBCD
Blue #0000FF
BlueViolet #8A2BE2
Brown #A52A2A
BurlyWood #DEB887
CadetBlue #5F9EA0
Chartreuse #7FFF00
Chocolate #D2691E
Coral #FF7F50
CornflowerBlue #6495ED
Cornsilk #FFF8DC
Crimson #DC143C
Cyan #00FFFF
DarkBlue #00008B
DarkCyan #008B8B
DarkGoldenRod #B8860B
DarkGray #A9A9A9
DarkGrey #A9A9A9
DarkGreen #006400
DarkKhaki #BDB76B
DarkMagenta #8B008B
DarkOliveGreen #556B2F
Darkorange #FF8C00
DarkOrchid #9932CC
DarkRed #8B0000
DarkSalmon #E9967A
DarkSeaGreen #8FBC8F
DarkSlateBlue #483D8B
DarkSlateGray #2F4F4F
DarkSlateGrey #2F4F4F
DarkTurquoise #00CED1
DarkViolet #9400D3
DeepPink #FF1493
DeepSkyBlue #00BFFF
DimGray #696969
DimGrey #696969
DodgerBlue #1E90FF
FireBrick #B22222
FloralWhite #FFFAF0
ForestGreen #228B22
Fuchsia #FF00FF
Gainsboro #DCDCDC
GhostWhite #F8F8FF
Gold #FFD700
GoldenRod #DAA520
Gray #808080
Grey #808080
Green #008000
GreenYellow #ADFF2F
HoneyDew #F0FFF0
HotPink #FF69B4
IndianRed #CD5C5C
Indigo #4B0082
Ivory #FFFFF0
Khaki #F0E68C
Lavender #E6E6FA
LavenderBlush #FFF0F5
LawnGreen #7CFC00
LemonChiffon #FFFACD
LightBlue #ADD8E6
LightCoral #F08080
LightCyan #E0FFFF
LightGoldenRodYellow #FAFAD2
LightGray #D3D3D3
LightGrey #D3D3D3
LightGreen #90EE90
LightPink #FFB6C1
LightSalmon #FFA07A
LightSeaGreen #20B2AA
LightSkyBlue #87CEFA
LightSlateGray #778899
LightSlateGrey #778899
LightSteelBlue #B0C4DE
LightYellow #FFFFE0
Lime #00FF00
LimeGreen #32CD32
Linen #FAF0E6
Magenta #FF00FF
Maroon #800000
MediumAquaMarine #66CDAA
MediumBlue #0000CD
MediumOrchid #BA55D3
MediumPurple #9370D8
MediumSeaGreen #3CB371
MediumSlateBlue #7B68EE
MediumSpringGreen #00FA9A
MediumTurquoise #48D1CC
MediumVioletRed #C71585
MidnightBlue #191970
MintCream #F5FFFA
MistyRose #FFE4E1
Moccasin #FFE4B5
NavajoWhite #FFDEAD
Navy #000080
OldLace #FDF5E6
Olive #808000
OliveDrab #6B8E23
Orange #FFA500
OrangeRed #FF4500
Orchid #DA70D6
PaleGoldenRod #EEE8AA
PaleGreen #98FB98
PaleTurquoise #AFEEEE
PaleVioletRed #D87093
PapayaWhip #FFEFD5
PeachPuff #FFDAB9
Peru #CD853F
Pink #FFC0CB
Plum #DDA0DD
PowderBlue #B0E0E6
Purple #800080
Red #FF0000
RosyBrown #BC8F8F
RoyalBlue #4169E1
SaddleBrown #8B4513
Salmon #FA8072
SandyBrown #F4A460
SeaGreen #2E8B57
SeaShell #FFF5EE
Sienna #A0522D
Silver #C0C0C0
SkyBlue #87CEEB
SlateBlue #6A5ACD
SlateGray #708090
SlateGrey #708090
Snow #FFFAFA
SpringGreen #00FF7F
SteelBlue #4682B4
Tan #D2B48C
Teal #008080
Thistle #D8BFD8
Tomato #FF6347
Turquoise #40E0D0
Violet #EE82EE
Wheat #F5DEB3
White #FFFFFF
WhiteSmoke #F5F5F5
Yellow #FFFF00
YellowGreen #9ACD32

HTML and XHTML uses standard 7-BIT ASCII when transmitting data over the Web.

7-BIT ASCII represents 128 different character values (0-127).

7-BIT Printable ASCII Characters


Number Character 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
48 0 digit 0
49 1 digit 1
50 2 digit 2
51 3 digit 3
52 4 digit 4
53 5 digit 5
54 6 digit 6
55 7 digit 7
56 8 digit 8
57 9 digit 9
58 : colon
59 ; semicolon
60 < less-than
61 = equals-to
62 > greater-than
63 ? question mark
64 @ at sign
65 A uppercase A
66 B uppercase B
67 C uppercase C
68 D uppercase D
69 E uppercase E
70 F uppercase F
71 G uppercase G
72 H uppercase H
73 I uppercase I
74 J uppercase J
75 K uppercase K
76 L uppercase L
77 M uppercase M
78 N uppercase N
79 O uppercase O
80 P uppercase P
81 Q uppercase Q
82 R uppercase R
83 S uppercase S
84 T uppercase T
85 U uppercase U
86 V uppercase V
87 W uppercase W
88 X uppercase X
89 Y uppercase Y
90 Z uppercase Z
91 [ left square bracket
92 \ backslash
93 ] right square bracket
94 ^ caret
95 _ underscore
96 ` grave accent
97 a lowercase a
98 b lowercase b
99 c lowercase c
100 d lowercase d
101 e lowercase e
102 f lowercase f
103 g lowercase g
104 h lowercase h
105 i lowercase i
106 j lowercase j
107 k lowercase k
108 l lowercase l
109 m lowercase m
110 n lowercase n
111 o lowercase o
112 p lowercase p
113 q lowercase q
114 r lowercase r
115 s lowercase s
116 t lowercase t
117 u lowercase u
118 v lowercase v
119 w lowercase w
120 x lowercase x
121 y lowercase y
122 z lowercase z
123 { left curly brace
124 | vertical bar
125 } right curly brace
126 ~ tilde

7-BIT ASCII Device Control Characters

ASCII device control characters were originally designed to control hardware devices like teletypes,
printers and tape drives.

These characters have nothing to do inside an HTML document:

Number Name Description


0 NUL null character
1 SOH start of header
2 STX start of text
3 ETX end of text
4 EOT end of transmission
5 ENQ enquiry
6 ACK acknowledge
7 BEL bell (ring)
8 BS backspace
9 HT horizontal tab
10 LF line feed
11 VT vertical tab
12 FF form feed
13 CR carriage return
14 SO shift out
15 SI shift in
16 DLE data link escape
17 DC1 device control 1
18 DC2 device control 2
19 DC3 device control 3
20 DC4 device control 4
21 NAK negative acknowledge
22 SYN synchronize
23 ETB end transmission block
24 CAN cancel
25 EM end of medium
26 SUB substitute
27 ESC escape
28 FS file separator
29 GS group separator
30 RS record separator
31 US unit separator

127 DEL delete (rubout)

HTML 4.01 supports the ISO 8859-1 (Latin-1) character set.

The lower part of ISO-8859-1 (codes from 0-127) is the original 7-BIT ASCII.

The higher part of ISO-8859-1 (codes from 160-255) all have character entity names.

Most of these characters can be used without an entity reference, but entity names or entity
numbers provide a method for expressing characters that cannot easily be entered on a keyboard.

Note: Entity names are case sensitive.

ASCII Entities with Entity Names


Result Description Entity Name Entity Number
" quotation mark &quot; &#34;
' apostrophe &apos; (does not work in IE) &#39;
& ampersand &amp; &#38;
< less-than &lt; &#60;
> greater-than &gt; &#62;

ISO 8859-1 Symbol Entities


Result Description Entity Name Entity Number
non-breaking space &nbsp; &#160;
¡ inverted exclamation mark &iexcl; &#161;
¢ cent &cent; &#162;
£ pound &pound; &#163;
¤ currency &curren; &#164;
¥ yen &yen; &#165;
¦ broken vertical bar &brvbar; &#166;
§ section &sect; &#167;
¨ spacing diaeresis &uml; &#168;
© copyright &copy; &#169;
ª feminine ordinal indicator &ordf; &#170;
« angle quotation mark (left) &laquo; &#171;
¬ negation &not; &#172;
soft hyphen &shy; &#173;
® registered trademark &reg; &#174;
¯ spacing macron &macr; &#175;
° degree &deg; &#176;
± plus-or-minus &plusmn; &#177;
² superscript 2 &sup2; &#178;
³ superscript 3 &sup3; &#179;
´ spacing acute &acute; &#180;
µ micro &micro; &#181;
¶ paragraph &para; &#182;
· middle dot &middot; &#183;
¸ spacing cedilla &cedil; &#184;
¹ superscript 1 &sup1; &#185;
º masculine ordinal indicator &ordm; &#186;
» angle quotation mark (right) &raquo; &#187;
¼ fraction 1/4 &frac14; &#188;
½ fraction 1/2 &frac12; &#189;
¾ fraction 3/4 &frac34; &#190;
¿ inverted question mark &iquest; &#191;
× multiplication &times; &#215;
÷ division &divide; &#247;

ISO 8859-1 Character Entities


Result Description Entity Name Entity Number
À capital a, grave accent &Agrave; &#192;
Á capital a, acute accent &Aacute; &#193;
 capital a, circumflex accent &Acirc; &#194;
à capital a, tilde &Atilde; &#195;
Ä capital a, umlaut mark &Auml; &#196;
Å capital a, ring &Aring; &#197;
Æ capital ae &AElig; &#198;
Ç capital c, cedilla &Ccedil; &#199;
È capital e, grave accent &Egrave; &#200;
É capital e, acute accent &Eacute; &#201;
Ê capital e, circumflex accent &Ecirc; &#202;
Ë capital e, umlaut mark &Euml; &#203;
Ì capital i, grave accent &Igrave; &#204;
Í capital i, acute accent &Iacute; &#205;
Î capital i, circumflex accent &Icirc; &#206;
Ï capital i, umlaut mark &Iuml; &#207;
Ð capital eth, Icelandic &ETH; &#208;
Ñ capital n, tilde &Ntilde; &#209;
Ò capital o, grave accent &Ograve; &#210;
Ó capital o, acute accent &Oacute; &#211;
Ô capital o, circumflex accent &Ocirc; &#212;
Õ capital o, tilde &Otilde; &#213;
Ö capital o, umlaut mark &Ouml; &#214;
Ø capital o, slash &Oslash; &#216;
Ù capital u, grave accent &Ugrave; &#217;
Ú capital u, acute accent &Uacute; &#218;
Û capital u, circumflex accent &Ucirc; &#219;
Ü capital u, umlaut mark &Uuml; &#220;
Ý capital y, acute accent &Yacute; &#221;
Þ capital THORN, Icelandic &THORN; &#222;
ß small sharp s, German &szlig; &#223;
à small a, grave accent &agrave; &#224;
á small a, acute accent &aacute; &#225;
â small a, circumflex accent &acirc; &#226;
ã small a, tilde &atilde; &#227;
ä small a, umlaut mark &auml; &#228;
å small a, ring &aring; &#229;
æ small ae &aelig; &#230;
ç small c, cedilla &ccedil; &#231;
è small e, grave accent &egrave; &#232;
é small e, acute accent &eacute; &#233;
ê small e, circumflex accent &ecirc; &#234;
ë small e, umlaut mark &euml; &#235;
ì small i, grave accent &igrave; &#236;
í small i, acute accent &iacute; &#237;
î small i, circumflex accent &icirc; &#238;
ï small i, umlaut mark &iuml; &#239;
ð small eth, Icelandic &eth; &#240;
ñ small n, tilde &ntilde; &#241;
ò small o, grave accent &ograve; &#242;
ó small o, acute accent &oacute; &#243;
ô small o, circumflex accent &ocirc; &#244;
õ small o, tilde &otilde; &#245;
ö small o, umlaut mark &ouml; &#246;
ø small o, slash &oslash; &#248;
ù small u, grave accent &ugrave; &#249;
ú small u, acute accent &uacute; &#250;
û small u, circumflex accent &ucirc; &#251;
ü small u, umlaut mark &uuml; &#252;
ý small y, acute accent &yacute; &#253;
þ small thorn, Icelandic &thorn; &#254;
ÿ small y, umlaut mark &yuml; &#255;
This character entity reference includes mathematical symbols, Greek characters, various arrows,
technical symbols and shapes.

Note: Entity names are case sensitive.

Math Symbols Supported by HTML


Result Description Entity Name Entity Number
∀ for all &forall; &#8704;
∂ part &part; &#8706;
∃ exists &exists; &#8707;
∅ empty &empty; &#8709;
∇ nabla &nabla; &#8711;
∈ isin &isin; &#8712;
∉ notin &notin; &#8713;
∋ ni &ni; &#8715;
∏ prod &prod; &#8719;
∑ sum &sum; &#8721;
− minus &minus; &#8722;
∗ lowast &lowast; &#8727;
√ square root &radic; &#8730;
∝ proportional to &prop; &#8733;
∞ infinity &infin; &#8734;
∠ angle &ang; &#8736;
∧ and &and; &#8743;
∨ or &or; &#8744;
∩ cap &cap; &#8745;
∪ cup &cup; &#8746;
∫ integral &int; &#8747;
∴ therefore &there4; &#8756;
∼ simular to &sim; &#8764;
≅ approximately equal &cong; &#8773;
≈ almost equal &asymp; &#8776;
≠ not equal &ne; &#8800;
≡ equivalent &equiv; &#8801;
≤ less or equal &le; &#8804;
≥ greater or equal &ge; &#8805;
⊂ subset of &sub; &#8834;
⊃ superset of &sup; &#8835;
⊄ not subset of &nsub; &#8836;
⊆ subset or equal &sube; &#8838;
⊇ superset or equal &supe; &#8839;
⊕ circled plus &oplus; &#8853;
⊗ cirled times &otimes; &#8855;
⊥ perpendicular &perp; &#8869;
⋅ dot operator &sdot; &#8901;
Greek Letters Supported by HTML
Result Description Entity Name Entity Number
Α Aplha &Aplha; &#913;
Β Beta &Beta; &#914;
Γ Gamma &Gamma; &#915;
Δ Delta &Delta; &#916;
Ε Epsilon &Epsilon; &#917;
Ζ Zeta &Zeta; &#918;
Η Eta &Eta; &#919;
Θ Theta &Theta; &#920;
Ι Iota &Iota; &#921;
Κ Kappa &Kappa; &#922;
Λ Lambda &Lambda; &#923;
Μ Mu &Mu; &#924;
Ν Nu &Nu; &#925;
Ξ Xi &Xi; &#926;
Ο Omicron &Omicron; &#927;
Π Pi &Pi; &#928;
Ρ Rho &Rho; &#929;
Sigmaf undefined
Σ Sigma &Sigma; &#931;
Τ Tau &Tau; &#932;
Υ Upsilon &Upsilon; &#933;
Φ Phi &Phi; &#934;
Χ Chi &Chi; &#935;
Ψ Psi &Psi; &#936;
Ω Omega &Omega; &#937;

α aplha &aplha; &#945;


β beta &beta; &#946;
γ gamma &gamma; &#947;
δ delta &delta; &#948;
ε epsilon &epsilon; &#949;
ζ zeta &zeta; &#950;
η eta &eta; &#951;
θ theta &theta; &#952;
ι iota &iota; &#953;
κ kappa &kappa; &#954;
λ lambda &lambda; &#923;
μ mu &mu; &#956;
ν nu &nu; &#925;
ξ xi &xi; &#958;
ο omicron &omicron; &#959;
π pi &pi; &#960;
ρ rho &rho; &#961;
ς sigmaf &sigmaf; &#962;
σ sigma &sigma; &#963;
τ tau &tau; &#964;
υ upsilon &upsilon; &#965;
φ phi &phi; &#966;
χ chi &chi; &#967;
ψ psi &psi; &#968;
ω omega &omega; &#969;

ϑ theta symbol &thetasym; &#977;


ϒ upsilon symbol &upsih; &#978;
ϖ pi symbol &piv; &#982;

Some Other Entities Supported by HTML


Result Description Entity Name Entity Number
Πcapital ligature OE &OElig; &#338;
œ small ligature oe &oelig; &#339;
Š capital S with caron &Scaron; &#352;
š small S with caron &scaron; &#353;
Ÿ capital Y with diaeres &Yuml; &#376;
ƒ f with hook &fnof; &#402;
ˆ modifier letter circumflex accent &circ; &#710;
˜ small tilde &tilde; &#732;
en space &ensp; &#8194;
em space &emsp; &#8195;
  thin space &thinsp; &#8201;
zero width non-joiner &zwnj; &#8204;
zero width joiner &zwj; &#8205;
left-to-right mark &lrm; &#8206;
right-to-left mark &rlm; &#8207;
– en dash &ndash; &#8211;
— em dash &mdash; &#8212;
‘ left single quotation mark &lsquo; &#8216;
’ right single quotation mark &rsquo; &#8217;
‚ single low-9 quotation mark &sbquo; &#8218;
“ left double quotation mark &ldquo; &#8220;
” right double quotation mark &rdquo; &#8221;
„ double low-9 quotation mark &bdquo; &#8222;
† dagger &dagger; &#8224;
‡ double dagger &Dagger; &#8225;
• bullet &bull; &#8226;
… horizontal ellipsis &hellip; &#8230;
‰ per mille &permil; &#8240;
′ minutes &prime; &#8242;
″ seconds &Prime; &#8243;
‹ single left angle quotation &lsaquo; &#8249;
› single right angle quotation &rsaquo; &#8250;
‾ overline &oline; &#8254;
€ euro &euro; &#8364;
™ trademark &trade; &#8482;
← left arrow &larr; &#8592;
↑ up arrow &uarr; &#8593;
→ right arrow &rarr; &#8594;
↓ down arrow &darr; &#8595;
↔ left right arrow &harr; &#8596;
↵ carriage return arrow &crarr; &#8629;
⌈ left ceiling &lceil; &#8968;
⌉ right ceiling &rceil; &#8969;
⌊ left floor &lfloor; &#8970;
⌋ right floor &rfloor; &#8971;
◊ lozenge &loz; &#9674;
♠ spade &spades; &#9824;
♣ club &clubs; &#9827;
♥ heart &hearts; &#9829;
♦ diamond &diams; &#9830;

Below is a reference of ASCII characters in URL-encoding form (hexadecimal format).

Hexadecimal values can be used to display non-standard letters and characters in


browsers and plug-ins.

Try It

Type some text or an ASCII value in the input field below, and click on the "URL Encode" button to
see the URL-encoding.

This
is
a
text

URL Encode

URL-encoding from %00 to %8f


ASCII Value URL-encode ASCII Value URL-encode ASCII Value URL-encode
æ %00 0 %30 ` %60
%01 1 %31 a %61
%02 2 %32 b %62
%03 3 %33 c %63
%04 4 %34 d %64
%05 5 %35 e %65
%06 6 %36 f %66
%07 7 %37 g %67
backspace %08 8 %38 h %68
tab %09 9 %39 i %69
linefeed %0a : %3a j %6a
%0b ; %3b k %6b
%0c < %3c l %6c
c return %0d = %3d m %6d
%0e > %3e n %6e
%0f ? %3f o %6f
%10 @ %40 p %70
%11 A %41 q %71
%12 B %42 r %72
%13 C %43 s %73
%14 D %44 t %74
%15 E %45 u %75
%16 F %46 v %76
%17 G %47 w %77
%18 H %48 x %78
%19 I %49 y %79
%1a J %4a z %7a
%1b K %4b { %7b
%1c L %4c | %7c
%1d M %4d } %7d
%1e N %4e ~ %7e
%1f O %4f %7f
space %20 P %50 € %80
! %21 Q %51 %81
" %22 R %52 ‚ %82
# %23 S %53 ƒ %83
$ %24 T %54 „ %84
% %25 U %55 … %85
& %26 V %56 † %86
' %27 W %57 ‡ %87
( %28 X %58 ˆ %88
) %29 Y %59 ‰ %89
* %2a Z %5a Š %8a
+ %2b [ %5b ‹ %8b
, %2c \ %5c Π%8c
- %2d ] %5d %8d
. %2e ^ %5e Ž %8e
/ %2f _ %5f %8f

URL-encoding from %90 to %ff


ASCII Value URL-encode ASCII Value URL-encode ASCII Value URL-encode
%90 À %c0 ð %f0
‘ %91 Á %c1 ñ %f1
’ %92 Â %c2 ò %f2
“ %93 Ã %c3 ó %f3
” %94 Ä %c4 ô %f4
• %95 Å %c5 õ %f5
– %96 Æ %c6 ö %f6
— %97 Ç %c7 ÷ %f7
˜ %98 È %c8 ø %f8
™ %99 É %c9 ù %f9
š %9a Ê %ca ú %fa
› %9b Ë %cb û %fb
œ %9c Ì %cc ü %fc
%9d Í %cd ý %fd
ž %9e Î %ce þ %fe
Ÿ %9f Ï %cf ÿ %ff
%a0 Ð %d0
¡ %a1 Ñ %d1
¢ %a2 Ò %d2
£ %a3 Ó %d3
%a4 Ô %d4
¥ %a5 Õ %d5
| %a6 Ö %d6
§ %a7 %d7
¨ %a8 Ø %d8
© %a9 Ù %d9
ª %aa Ú %da
« %ab Û %db
¬ %ac Ü %dc
¯ %ad Ý %dd
® %ae Þ %de
¯ %af ß %df
° %b0 à %e0
± %b1 á %e1
² %b2 â %e2
³ %b3 ã %e3
´ %b4 ä %e4
µ %b5 å %e5
¶ %b6 æ %e6
· %b7 ç %e7
¸ %b8 è %e8
¹ %b9 é %e9
º %ba ê %ea
» %bb ë %eb
¼ %bc ì %ec
½ %bd í %ed
¾ %be î %ee
¿ %bf ï %ef

When a browser requests a service from a web server, an error might occur.

This is a list of HTTP status messages that might be returned:


1xx: Information

Message: Description:
100 Continue Only a part of the request has been received by the server,
but as long as it has not been rejected, the client should
continue with the request
101 Switching Protocols The server switches protocol

2xx: Successful

Message: Description:
200 OK The request is OK
201 Created The request is complete, and a new resource is created
202 Accepted The request is accepted for processing, but the processing
is not complete
203 Non-authoritative Information
204 No Content
205 Reset Content
206 Partial Content

3xx: Redirection

Message: Description:
300 Multiple Choices A link list. The user can select a link and go to that location.
Maximum five addresses
301 Moved Permanently The requested page has moved to a new url
302 Found The requested page has moved temporarily to a new url
303 See Other The requested page can be found under a different url
304 Not Modified
305 Use Proxy
306 Unused This code was used in a previous version. It is no longer
used, but the code is reserved
307 Temporary Redirect The requested page has moved temporarily to a new url

4xx: Client Error

Message: Description:
400 Bad Request The server did not understand the request
401 Unauthorized The requested page needs a username and a password
402 Payment Required You can not use this code yet
403 Forbidden Access is forbidden to the requested page
404 Not Found The server can not find the requested page
405 Method Not Allowed The method specified in the request is not allowed
406 Not Acceptable The server can only generate a response that is not
accepted by the client
407 Proxy Authentication Required You must authenticate with a proxy server before this
request can be served
408 Request Timeout The request took longer than the server was prepared to
wait
409 Conflict The request could not be completed because of a conflict
410 Gone The requested page is no longer available
411 Length Required The "Content-Length" is not defined. The server will not
accept the request without it
412 Precondition Failed The precondition given in the request evaluated to false by
the server
413 Request Entity Too Large The server will not accept the request, because the request
entity is too large
414 Request-url Too Long The server will not accept the request, because the url is
too long. Occurs when you convert a "post" request to a
"get" request with a long query information
415 Unsupported Media Type The server will not accept the request, because the media
type is not supported
416
417 Expectation Failed

5xx: Server Error

Message: Description:
500 Internal Server Error The request was not completed. The server met an
unexpected condition
501 Not Implemented The request was not completed. The server did not support
the functionality required
502 Bad Gateway The request was not completed. The server received an
invalid response from the upstream server
503 Service Unavailable The request was not completed. The server is temporarily
overloading or down
504 Gateway Timeout The gateway has timed out
505 HTTP Version Not Supported The server does not support the "http protocol" version

Вам также может понравиться