Faqts : Business : Internet : Web : HTML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 12 people (92%) answered Yes
Recently 8 of 9 people (89%) answered Yes

Entry

How can i display ø (untranslated) in the browser?

Aug 19th, 2000 22:28
Rey Nuņez, Acebone,


To display the actual or literal string of the character entity 
references that correspond to ISO 8859-1 character entity names, use 
& in place of the "&" in the string.

For example, this table displays the converted character itself, the 
character entity reference string, its numeric equivalent, and a short 
description of some of the ISO 8859-1 character entity set.

<h3>Character entity references for ISO 8859-1 characters</h3>
<table align="center" width=90% border>
<tr>
  <td>&nbsp;</td>
  <td>&amp;nbsp;</td>
  <td>&amp;#160;</td>
  <td>no-break space = non-breaking space, U+00A0 ISOnum</td></tr>
<tr>
  <td>&iexcl;</td>
  <td>&amp;iexcl;</td>
  <td>&amp;#161;</td>
  <td>inverted exclamation mark, U+00A1 ISOnum</td></tr>
<tr>
  <td>&cent;</td>
  <td>&amp;cent;</td>
  <td>&amp;#162;</td>
  <td>cent sign, U+00A2 ISOnum</td></tr>
<tr>
  <td>&pound;</td>
  <td>&amp;pound;</td>
  <td>&amp;#163;</td>
  <td>pound sign, U+00A3 ISOnum</td></tr>
<tr>
  <td>&curren;</td>
  <td>&amp;curren;</td>
  <td>&amp;#164;</td>
  <td>currency sign, U+00A4 ISOnum</td></tr>
<tr>
  <td>&yen;</td>
  <td>&amp;yen;</td>
  <td>&amp;#165;</td>
  <td>yen sign = yuan sign, U+00A5 ISOnum</td></tr>
<tr>
  <td>&brvbar;</td>
  <td>&amp;brvbar;</td>
  <td>&amp;#166;</td>
  <td>broken bar = broken vertical bar, U+00A6 ISOnum</td></tr>
<tr>
  <td>&sect;</td>
  <td>&amp;sect;</td>
  <td>&amp;#167;</td>
  <td>section sign, U+00A7 ISOnum</td></tr>
</table>

In the same manner, writing &amp;Oslash; and &amp;oslash; in an HTML 
page displays the literal string equivalent of the entity reference for 
the capital and small letter O with stroke, while writing &Oslash; and 
&oslash; will render the ISO 8859-1 characters itself.