<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=HTML_character_references</id>
		<title>HTML character references - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=HTML_character_references"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=HTML_character_references&amp;action=history"/>
		<updated>2026-04-21T06:04:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=HTML_character_references&amp;diff=32485&amp;oldid=prev</id>
		<title>Dan Tobias at 19:42, 29 June 2019</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=HTML_character_references&amp;diff=32485&amp;oldid=prev"/>
				<updated>2019-06-29T19:42:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:42, 29 June 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Numeric character references ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Numeric character references ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A numeric reference follows the pattern &amp;lt;code&amp;gt;&amp;amp;#''nnnn'';&amp;lt;/code&amp;gt;, where ''nnnn'' is a decimal number, or &amp;lt;code&amp;gt;&amp;amp;#x''hhhh'';&amp;lt;/code&amp;gt;, where ''hhhh'' is a hexadecimal number. In both cases, the number refers to a [[Unicode]] character code position. (This wasn't always true in older versions and implementations; in the early days of HTML, Unicode was just barely getting started, and all sorts of other character encodings were in use; sometimes HTML numeric references were construed as being in one of those such as [[Windows&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/del&gt;1252]]. Also, the hexadecimal references didn't work in really old browsers, so for a long time decimal references were safer.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A numeric reference follows the pattern &amp;lt;code&amp;gt;&amp;amp;#''nnnn'';&amp;lt;/code&amp;gt;, where ''nnnn'' is a decimal number, or &amp;lt;code&amp;gt;&amp;amp;#x''hhhh'';&amp;lt;/code&amp;gt;, where ''hhhh'' is a hexadecimal number. In both cases, the number refers to a [[Unicode]] character code position. (This wasn't always true in older versions and implementations; in the early days of HTML, Unicode was just barely getting started, and all sorts of other character encodings were in use; sometimes HTML numeric references were construed as being in one of those such as [[Windows 1252]]. Also, the hexadecimal references didn't work in really old browsers, so for a long time decimal references were safer.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Named character references or entities ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Named character references or entities ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dan Tobias</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=HTML_character_references&amp;diff=32484&amp;oldid=prev</id>
		<title>Dan Tobias: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Character encoding |wikidata={{wikidata|Q15932945}} }} '''HTML character references''' are sometimes referred to as &quot;entities&quot;, but...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=HTML_character_references&amp;diff=32484&amp;oldid=prev"/>
				<updated>2019-06-29T19:42:10Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Character encoding |wikidata={{wikidata|Q15932945}} }} &amp;#039;&amp;#039;&amp;#039;HTML character references&amp;#039;&amp;#039;&amp;#039; are sometimes referred to as &amp;quot;entities&amp;quot;, but...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Character encoding&lt;br /&gt;
|wikidata={{wikidata|Q15932945}}&lt;br /&gt;
}}&lt;br /&gt;
'''HTML character references''' are sometimes referred to as &amp;quot;entities&amp;quot;, but pedants will tell you that this term should apply only to the named character references, not the numbered ones. This distinction is more significant in the parent format, [[SGML]], which has a more elaborately-developed entity system where named entities can be used as macros in a complex way; in HTML both named and numbered references are simply ways of representing literal characters in HTML without them being treated as syntactic elements (e.g., the less-than and greater-than signs) or when they are not supported by the document's character encoding or not easy to see or type in the text editor you are using.&lt;br /&gt;
&lt;br /&gt;
In addition to HTML and SGML, [[XML]] (and the multiplicity of formats derived from it) uses such references. The exact list of supported character references can vary between specific versions of formats.&lt;br /&gt;
&lt;br /&gt;
HTML character references start with the ampersand (&amp;amp;) and normally end in the semicolon (;), though in some versions of formats it is acceptable to leave that out if the reference is followed by a character which unambiguously is not part of a reference; the exact syntax rules vary by version, and some implementations (e.g., browser versions) may not exactly follow the standards on what is and isn't acceptable; it's always safest to include the semicolon.&lt;br /&gt;
&lt;br /&gt;
== Numeric character references ==&lt;br /&gt;
&lt;br /&gt;
A numeric reference follows the pattern &amp;lt;code&amp;gt;&amp;amp;#''nnnn'';&amp;lt;/code&amp;gt;, where ''nnnn'' is a decimal number, or &amp;lt;code&amp;gt;&amp;amp;#x''hhhh'';&amp;lt;/code&amp;gt;, where ''hhhh'' is a hexadecimal number. In both cases, the number refers to a [[Unicode]] character code position. (This wasn't always true in older versions and implementations; in the early days of HTML, Unicode was just barely getting started, and all sorts of other character encodings were in use; sometimes HTML numeric references were construed as being in one of those such as [[Windows-1252]]. Also, the hexadecimal references didn't work in really old browsers, so for a long time decimal references were safer.)&lt;br /&gt;
&lt;br /&gt;
== Named character references or entities ==&lt;br /&gt;
&lt;br /&gt;
Named references are in the form &amp;lt;code&amp;gt;&amp;amp;''name'';&amp;lt;/code&amp;gt;, with names taken from a list which varies by format and version. Commonly used ones include &amp;lt;code&amp;gt;&amp;amp;amp;lt;&amp;lt;/code&amp;gt; for the less-than sign (&amp;amp;lt;), &amp;lt;code&amp;gt;&amp;amp;amp;gt;&amp;lt;/code&amp;gt; for the greater-than sign (&amp;amp;gt;), &amp;lt;code&amp;gt;&amp;amp;amp;quot;&amp;lt;/code&amp;gt; for a double-quote (&amp;quot;), &amp;lt;code&amp;gt;&amp;amp;amp;apos;&amp;lt;/code&amp;gt; for an apostrophe/single-quote ('), and &amp;lt;code&amp;gt;&amp;amp;amp;amp;&amp;lt;/code&amp;gt; for an ampersand. A number of other named references exist, though if the file is being developed in a Unicode-capable editor to be served as [[UTF-8]] or another Unicode encoding, you should be able to include anything else as literal characters with no escape sequence needed.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [[Wikipedia:List of XML and HTML character entity references]]&lt;/div&gt;</summary>
		<author><name>Dan Tobias</name></author>	</entry>

	</feed>