Character Entity Example : Entity Table « Reference « HTML / CSS






Character Entity Example

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Character Entity Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>

<div class="head">Character Entity Example</div>
<br />
<div class="content">

<h1 align="center">Character Entities Demo</h1>
<hr />
<p>Character entities like &amp;copy; allow users to insert
special characters like &copy;.</p>
<p>One entity that is both useful and abused is the
non-breaking space.</p>
<p>Inserting spaces is easy with &amp;nbsp;<br />
Look: &nbsp; S &nbsp; &nbsp; &nbsp; P &nbsp; &nbsp; &nbsp;
A &nbsp; &nbsp; &nbsp; C &nbsp; &nbsp; &nbsp; E
&nbsp; &nbsp; &nbsp; S.<br />
</p>
<hr />
<address>
Contents of this page &copy; 2003 Demo Company, Inc.<br />
The <strong>Wonder Tag</strong> &lt;P&gt; &#153; is a registered
trademark of Demo Company, Inc.
</address>

</div>

</body>
</html>

   
    
  








Related examples in the same category

1.Printable ASCII Characters: 7-BIT
2.ASCII Entities with new Entity Names
3.ISO 8859-1 Symbol Entities
4.ISO 8859-1 Character Entities
5.Other Entities supported by HTML