1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>HTML 4.0 Entities</title>
<link rev=Made href="mailto:liam@htmlhelp.com">
<link rel=Start href="../index.html">
<link rel=Next href="latin1.html">
<link rel=StyleSheet href="../style.css" type="text/css">
<link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
<meta name="author" content="Liam Quinn">
<meta name="description" content="A description of entities and numeric character references in HTML 4.0">
<meta name="keywords" content="entities, entity, numeric character reference, characters, Unicode, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG">
</head>
<body>
<h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
<h1>Entities</h1>
<p>Character entity references, or <em>entities</em> for short, provide a method of entering characters that cannot be expressed in the document's character encoding or that cannot easily be entered on a keyboard. Entities are case-sensitive and take the form <strong class=html>&<var>name</var>;</strong>. Examples of entities include <strong class=html>&copy;</strong> for the copyright symbol and <strong class=html>&Alpha;</strong> for the Greek capital letter alpha.</p>
<p>In addition to entities, authors can use <em>numeric character references</em>. While entities are limited to a subset of <a href="http://www.unicode.org/charts/">Unicode characters</a>, numeric character references can specify any character. Numeric character references may be given in decimal or hexadecimal, though browser support is stronger for decimal references. Decimal references are of the form <strong class=html>&#<var>number</var>;</strong> while hexadecimal references take the case-insensitive form <strong class=html>&#x<var>number</var>;</strong>. Examples of numeric character references include <strong class=html>&#169;</strong> or <strong class=html>&#xA9;</strong> for the copyright symbol, <strong class=html>&#913;</strong> or <strong class=html>&#x391;</strong> for the Greek capital letter alpha, and <strong class=html>&#1575;</strong> or <strong class=html>&#x627;</strong> for the Arabic letter ALEF.</p>
<p>The following documents feature tables of the character entity references in HTML4.0, along with the numeric character reference in decimal and hexadecimal. A rendering of each character reference is provided so that users may check their browsers' compliance.</p>
<ul>
<li><a href="latin1.html">Latin-1 Entities</a></li>
<li><a href="symbols.html">Symbols and Greek Letters</a></li>
<li><a href="special.html">Other Special Characters</a></li>
</ul>
<div class=footer>
<address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>
<p class=toolbar><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"> <a href="../index.html" rel=Start>HTML4.0Reference</a>~ <a href="latin1.html" rel=Next>Latin-1Characters</a>~ <a href="symbols.html">SymbolsandGreekLetters</a>~ <a href="special.html">OtherSpecialCharacters</a></p>
<p class=copyright>Copyright © 1998 by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a>. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at <a href="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</a>).</p>
</div>
</body>
</html>
|