html complete reference

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

Upload: mdfhossain

Post on 15-Oct-2014

2.275 views

Category:

Documents


1 download

DESCRIPTION

Learn html

TRANSCRIPT

Page 1: HTML complete reference

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

Page 2: HTML complete reference

<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

Page 3: HTML complete reference

<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

Page 4: HTML complete reference

<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

Page 5: HTML complete reference

<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 tagdescription. The attributes listed here are the core and language attributes that are standard for alltags (with a few exceptions).

Core Attributes

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

Attribute Value Descriptionclass class_rule or style_rule The class of the elementid id_name A unique id for the elementstyle style_definition An inline style definitiontitle 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 Descriptiondir ltr | rtl Sets the text directionlang language_code Sets the language code

Keyboard Attributes

Attribute Value Description

Page 6: HTML complete reference

accesskey character Sets a keyboard shortcut to access anelement

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 aJavaScript when a user clicks on an HTML element. Below is a list of attributes that can be insertedinto HTML tags to define event actions.

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

Window Events

Only valid in body and frameset elements

Attribute Value Descriptiononload script Script to be run when a document loadsonunload 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 changesonsubmit script Script to be run when the form is submittedonreset script Script to be run when the form is resetonselect script Script to be run when the element is selectedonblur script Script to be run when the element loses focusonfocus 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 titleelements.

Attribute Value Descriptiononkeydown script What to do when key is pressedonkeypress script What to do when key is pressed and releasedonkeyup 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 titleelements.

Page 7: HTML complete reference

Attribute Value Descriptiononclick script What to do on a mouse clickondblclick script What to do on a mouse doubleclickonmousedown script What to do when mouse button is pressedonmousemove script What to do when mouse pointer movesonmouseover script What to do when mouse pointer moves over an elementonmouseout script What to do when mouse pointer moves out of an elementonmouseup 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 colornames 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 orHEX value.

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

Color Name Color HEX ColorAliceBlue #F0F8FFAntiqueWhite #FAEBD7Aqua #00FFFFAquamarine #7FFFD4Azure #F0FFFFBeige #F5F5DCBisque #FFE4C4Black #000000BlanchedAlmond #FFEBCDBlue #0000FFBlueViolet #8A2BE2Brown #A52A2ABurlyWood #DEB887CadetBlue #5F9EA0Chartreuse #7FFF00Chocolate #D2691ECoral #FF7F50CornflowerBlue #6495EDCornsilk #FFF8DCCrimson #DC143CCyan #00FFFFDarkBlue #00008BDarkCyan #008B8BDarkGoldenRod #B8860BDarkGray #A9A9A9DarkGrey #A9A9A9DarkGreen #006400

Page 8: HTML complete reference

DarkKhaki #BDB76BDarkMagenta #8B008BDarkOliveGreen #556B2FDarkorange #FF8C00DarkOrchid #9932CCDarkRed #8B0000DarkSalmon #E9967ADarkSeaGreen #8FBC8FDarkSlateBlue #483D8BDarkSlateGray #2F4F4FDarkSlateGrey #2F4F4FDarkTurquoise #00CED1DarkViolet #9400D3DeepPink #FF1493DeepSkyBlue #00BFFFDimGray #696969DimGrey #696969DodgerBlue #1E90FFFireBrick #B22222FloralWhite #FFFAF0ForestGreen #228B22Fuchsia #FF00FFGainsboro #DCDCDCGhostWhite #F8F8FFGold #FFD700GoldenRod #DAA520Gray #808080Grey #808080Green #008000GreenYellow #ADFF2FHoneyDew #F0FFF0HotPink #FF69B4IndianRed #CD5C5CIndigo #4B0082Ivory #FFFFF0Khaki #F0E68CLavender #E6E6FALavenderBlush #FFF0F5LawnGreen #7CFC00LemonChiffon #FFFACDLightBlue #ADD8E6LightCoral #F08080LightCyan #E0FFFFLightGoldenRodYellow #FAFAD2LightGray #D3D3D3LightGrey #D3D3D3LightGreen #90EE90LightPink #FFB6C1LightSalmon #FFA07ALightSeaGreen #20B2AA

Page 9: HTML complete reference

LightSkyBlue #87CEFALightSlateGray #778899LightSlateGrey #778899LightSteelBlue #B0C4DELightYellow #FFFFE0Lime #00FF00LimeGreen #32CD32Linen #FAF0E6Magenta #FF00FFMaroon #800000MediumAquaMarine #66CDAAMediumBlue #0000CDMediumOrchid #BA55D3MediumPurple #9370D8MediumSeaGreen #3CB371MediumSlateBlue #7B68EEMediumSpringGreen #00FA9AMediumTurquoise #48D1CCMediumVioletRed #C71585MidnightBlue #191970MintCream #F5FFFAMistyRose #FFE4E1Moccasin #FFE4B5NavajoWhite #FFDEADNavy #000080OldLace #FDF5E6Olive #808000OliveDrab #6B8E23Orange #FFA500OrangeRed #FF4500Orchid #DA70D6PaleGoldenRod #EEE8AAPaleGreen #98FB98PaleTurquoise #AFEEEEPaleVioletRed #D87093PapayaWhip #FFEFD5PeachPuff #FFDAB9Peru #CD853FPink #FFC0CBPlum #DDA0DDPowderBlue #B0E0E6Purple #800080Red #FF0000RosyBrown #BC8F8FRoyalBlue #4169E1SaddleBrown #8B4513Salmon #FA8072SandyBrown #F4A460SeaGreen #2E8B57SeaShell #FFF5EE

Page 10: HTML complete reference

Sienna #A0522DSilver #C0C0C0SkyBlue #87CEEBSlateBlue #6A5ACDSlateGray #708090SlateGrey #708090Snow #FFFAFASpringGreen #00FF7FSteelBlue #4682B4Tan #D2B48CTeal #008080Thistle #D8BFD8Tomato #FF6347Turquoise #40E0D0Violet #EE82EEWheat #F5DEB3White #FFFFFFWhiteSmoke #F5F5F5Yellow #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 Description32 space33 ! exclamation mark34 " quotation mark35 # number sign36 $ dollar sign37 % percent sign38 & ampersand39 ' apostrophe40 ( left parenthesis41 ) right parenthesis42 * asterisk43 + plus sign44 , comma45 - hyphen46 . period47 / slash48 0 digit 049 1 digit 150 2 digit 2

Page 11: HTML complete reference

51 3 digit 352 4 digit 453 5 digit 554 6 digit 655 7 digit 756 8 digit 857 9 digit 958 : colon59 ; semicolon60 < less-than61 = equals-to62 > greater-than63 ? question mark64 @ at sign65 A uppercase A66 B uppercase B67 C uppercase C68 D uppercase D69 E uppercase E70 F uppercase F71 G uppercase G72 H uppercase H73 I uppercase I74 J uppercase J75 K uppercase K76 L uppercase L77 M uppercase M78 N uppercase N79 O uppercase O80 P uppercase P81 Q uppercase Q82 R uppercase R83 S uppercase S84 T uppercase T85 U uppercase U86 V uppercase V87 W uppercase W88 X uppercase X89 Y uppercase Y90 Z uppercase Z91 [ left square bracket92 \ backslash93 ] right square bracket94 ^ caret95 _ underscore96 ` grave accent97 a lowercase a98 b lowercase b99 c lowercase c100 d lowercase d

Page 12: HTML complete reference

101 e lowercase e102 f lowercase f103 g lowercase g104 h lowercase h105 i lowercase i106 j lowercase j107 k lowercase k108 l lowercase l109 m lowercase m110 n lowercase n111 o lowercase o112 p lowercase p113 q lowercase q114 r lowercase r115 s lowercase s116 t lowercase t117 u lowercase u118 v lowercase v119 w lowercase w120 x lowercase x121 y lowercase y122 z lowercase z123 { left curly brace124 | vertical bar125 } right curly brace126 ~ 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 character1 SOH start of header2 STX start of text3 ETX end of text4 EOT end of transmission5 ENQ enquiry6 ACK acknowledge7 BEL bell (ring)8 BS backspace9 HT horizontal tab10 LF line feed11 VT vertical tab12 FF form feed13 CR carriage return

Page 13: HTML complete reference

14 SO shift out15 SI shift in16 DLE data link escape17 DC1 device control 118 DC2 device control 219 DC3 device control 320 DC4 device control 421 NAK negative acknowledge22 SYN synchronize23 ETB end transmission block24 CAN cancel25 EM end of medium26 SUB substitute27 ESC escape28 FS file separator29 GS group separator30 RS record separator31 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 entitynumbers 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 Numbernon-breaking space &nbsp; &#160;

¡ inverted exclamation mark &iexcl; &#161;¢ cent &cent; &#162;

Page 14: HTML complete reference

£ 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;

Page 15: HTML complete reference

Î 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;

Page 16: HTML complete reference

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;

Page 17: HTML complete reference

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;

Page 18: HTML complete reference

υ 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;

Page 19: HTML complete reference

← 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 inbrowsers and plug-ins.

Try It

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

Thisisatext

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

Page 20: HTML complete reference

%05 5 %35 e %65%06 6 %36 f %66%07 7 %37 g %67

backspace %08 8 %38 h %68tab %09 9 %39 i %69linefeed %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

Page 21: HTML complete reference

” %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:

Page 22: HTML complete reference

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 shouldcontinue with the request

101 Switching Protocols The server switches protocol

2xx: Successful

Message: Description:200 OK The request is OK201 Created The request is complete, and a new resource is created202 Accepted The request is accepted for processing, but the processing

is not complete203 Non-authoritative Information204 No Content205 Reset Content206 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 url302 Found The requested page has moved temporarily to a new url303 See Other The requested page can be found under a different url304 Not Modified305 Use Proxy306 Unused This code was used in a previous version. It is no longer

used, but the code is reserved307 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 request401 Unauthorized The requested page needs a username and a password402 Payment Required You can not use this code yet403 Forbidden Access is forbidden to the requested page404 Not Found The server can not find the requested page405 Method Not Allowed The method specified in the request is not allowed406 Not Acceptable The server can only generate a response that is not

accepted by the client407 Proxy Authentication Required You must authenticate with a proxy server before this

request can be served408 Request Timeout The request took longer than the server was prepared to

wait

Page 23: HTML complete reference

409 Conflict The request could not be completed because of a conflict410 Gone The requested page is no longer available411 Length Required The "Content-Length" is not defined. The server will not

accept the request without it412 Precondition Failed The precondition given in the request evaluated to false by

the server413 Request Entity Too Large The server will not accept the request, because the request

entity is too large414 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 mediatype is not supported

416417 Expectation Failed

5xx: Server Error

Message: Description:500 Internal Server Error The request was not completed. The server met an

unexpected condition501 Not Implemented The request was not completed. The server did not support

the functionality required502 Bad Gateway The request was not completed. The server received an

invalid response from the upstream server503 Service Unavailable The request was not completed. The server is temporarily

overloading or down504 Gateway Timeout The gateway has timed out505 HTTP Version Not Supported The server does not support the "http protocol" version