home *** CD-ROM | disk | FTP | other *** search
/ Kosovo Orphans' Appeal Charity CD / KosovoOrphansAppeal.iso / internet / software / html3 / _html³ / docs / chars < prev    next >
Encoding:
Text File  |  1999-03-30  |  10.5 KB  |  147 lines

  1. <html><head>
  2.  <title>!HTML3 (characters)</title>
  3. </head>
  4. <body bgcolor="#FFFFFF" text="#000000" link="#000080" alink="#7CCFFF" vlink="#0000FF">
  5. <a name="topofpage"></a>
  6. <table width="100%" border=0 cellspacing=0 cellspacing=0>
  7. <tr bgcolor="#000000"><td width="100" align="center" valign="center"><img src="html3.gif" alt="HTML3" width=75 height=19 border=0>
  8. <td width="440" align="center"><font color="#ffffff" face="arial, helvetica" size="5"><b>HTML³ - Characters</b></font>
  9. <td valign="top" width="100" align="right"><img src="pencil.gif" width=89 height=50 border=0 hspace=2>
  10.  
  11. <tr valign=top><td bgcolor="#66EEBB" width="100">
  12. <b>Choose from:</b><br>
  13.  <a href="intro.html#topofpage">Intro</a><br>
  14.  <a  href="side.html#topofpage">Side bar</a><br>
  15.  <a href="style.html#topofpage">Styles</a><br>
  16.    <font size="-1"><a href="head.html#topofpage">Headers</a></font><br>
  17.    <font size="-1"><a href="foot.html#topofpage">Footers</a></font><br>
  18.  <a    href="fx.html#topofpage">Effects</a><br>
  19.  <a href="chars.html#topofpage">Chars</a><br>
  20.  <a  href="addr.html#topofpage">Address</a><br>
  21.  <a href="links.html#topofpage">Links</a><br>
  22.  <a   href="img.html#topofpage">Images</a><br>
  23.  <a href="frame.html#topofpage">Frames</a><br>
  24.  <a href="table.html#topofpage">Tables</a><br>
  25.  <a href="forms.html#topofpage">Forms</a><br>
  26.  <a  href="plug.html#topofpage">Plugins</a><br>
  27.  <a href="choic.html#topofpage">Choices</a><br>
  28. <font size="1">
  29. <br> 
  30. <br>
  31.   <b>!HTML³</b><br>
  32.   by<br>
  33.   <a href="mailto:richard@goodwin.uk.com">Richard Goodwin</a>
  34. </font>
  35. <td colspan="2">
  36. <br><ul>
  37. <H2>Characters Window</H2>
  38.  
  39. The Characters section is split into two sections; there's an area at the bottom of the window for entering individual characters (or entities) <I>into</I> your text, possibly because you want to use foreign letters; and at the top of the window is an area devoted to lists, which generally add characters <I>at the start of</I> your text.
  40. <P>
  41. <center>
  42. <I>Areas covered on this page</I><br>
  43.   <a href="#lists">Lists (unordered and ordered)</a><br>
  44.   <a href="#ul+">Unordered lists - extras</a> | 
  45.   <a href="#ol+">Ordered lists - extras</a> | 
  46.   <a href="#dlist">Distribution lists</a><br>
  47.   <a href="#characters">Character entities</a>
  48. </center>
  49. <hr>
  50. <a name="lists"><h3>Lists</h3></a>
  51. Lists are very much a game of two halves - there are two types of lists, the main variety of which is further split into two types, and which require two parts to work.
  52. <P>
  53. <font size="4"><B><tt><UL></tt> and <tt><OL></tt></B></font>
  54. <br>
  55. The main type of list most people will come across are bullet pointed lists - either with dots, or with incremental numbers or letters.  These are known as <I><B>U</B></I>nordered <I><B>L</B></I>ists and <I><B>O</B></I>rdered <I><B>L</B></I>ists, or <font colour="#ff0000"><tt><UL></tt></font> and <font colour="#ff0000"><tt><OL></tt></font> respectively.
  56. <P>
  57. To these bullet pointed lists, all you have to do is switch them on, mark the start of each point (or <I><B>L</B></I>ist <I><B>I</B></I>tem) with an <font colour="#ff0000"><tt><LI></tt></font> tag, and then switch the list off again with a <font colour="#ff0000"><tt></UL></tt></font> or <font colour="#ff0000"><tt></OL></tt></font>.  For example...
  58. <P>
  59. <ul>
  60. <li>An unordered list
  61. <li> more of the same
  62. </ul><br>
  63. ...and...
  64. <ol>
  65. <li>An ordered list
  66. <li>and some more
  67. </ol>
  68. <br>
  69. ...is made up of...
  70. <P><tt><font color="#FF0000"><ul></font><br>
  71.  <font color="#FF0000"><li></font> An unordered list<br>
  72.  <font color="#FF0000"><li></font> more of the same<br>
  73. <font color="#FF0000"></ul></font>
  74. <p>
  75. </tt>...and...<tt>
  76. <p><font color="#FF0000"><ol></font><br>
  77.  <font color="#FF0000"><li></font> An ordered list<br>
  78.  <font color="#FF0000"><li></font> and some more<br>
  79. <font color="#FF0000"></ol></font></tt>
  80.  
  81.  
  82. <P>
  83. To end a list, you have to use the respective <font color="#ff0000"><tt></UL></tt></font> or <font color="#ff0000"><tt></OL></tt></font> tag.  Note that <font color="#ff0000"><tt></LI></tt></font> isn't implemented in HTML³ as I've never found it necessary; it's not like nested tables where the browser will get seriously confused - to do anything like nested lists you have to start a new list, so there's little chance of confusion!
  84.  
  85. <P>
  86. <a name="ul+"><font size="4"><b><tt><UL></tt> extras</b></font><br></a>
  87. However, there are other interesting things you can do with them; you will notice that underneath the unordered list section of the HTML³ Chars window there are four extra options - <tt>Default</tt>, <tt>disk</tt>, <tt>square</tt> and <tt>circle</tt>.  For browsers which use dingbat-style font characters instead of coloured balls for bullet points (i.e not Browse, Webster or ArcWeb, but Fresco and the PC browsers), this enables you to change which character to use from the default dot (<tt>disk</tt>) to a large square, or a funky drop-shadow circle.  This can be done either as an extra attribute in the <font colour="#ff0000"><tt><UL></tt></font> tag, or in each individual <font colour="#ff0000"><tt><LI></tt></font> - for instance...
  88. <P>
  89. <ul type="square">
  90. <li>should have a square at the start
  91. <li>so should this
  92. <li type="circle">Should have a drop shadow dot
  93. <li type="disk"> should have a regular dot
  94. <li>back to the square type
  95. </ul><br>
  96. <font color="#ff0000"><B>Help!</B></font>  That didn't work!<br>
  97. <I>If you see coloured dots instead of the type of bullet point described, chances are this function isn't supported in your browser - if it isn't in the list in the paragraph above, please contact me so I can update the list.</I>
  98. <P>
  99. <B><font color="#ff0000">Tip:</font></B> As well as using <font color="#ff0000"><tt><UL></tt></font>...<font color="#ff0000"><tt></UL></tt></font> for lists, it's also a handy way of indenting text so you get a nice left hand margin - as with this page.
  100. <P>
  101. Microsoft FrontPage uses <font color="#0000aa"><BLOCKQUOTE>...</BLOCKQUOTE></font> instead, but ArcWeb renders quotes in italic.
  102.  
  103. <P>
  104. <a name="ol+"><font size="4"><b><tt><OL></tt> extras</b></font><br></a>
  105. <font color="#ff0000"><tt><OL></tt></font> has similar extensions to <font color="#ff0000"><tt><UL></tt></font>. There are five different styles of incremental bullet types for <font color="#ff0000"><tt><OL></tt></font> - the default is 1,2,3 style, but there's also letters and roman numerals in both lower and upper case.  HTML³ will allow you to add these in the <font color="#ff0000"><tt><OL></tt></font> tag but not the <font colour="#ff0000"><tt><LI></tt></font>, as it would look <I>very</I> weird.  
  106. <P>
  107. Also available is the option to start a list at a number other than one (obviously if you're using letters or roman numerals you have to translate this to a number for the <tt>Start:</tt> section) - this is useful if you stop a list and then want to restart it later in the document, or if you're a computer geek and like to start listing from 0.
  108.  
  109. <P>
  110. <a name="dlist"><font size="4"><B>Definition lists</B></font></a>
  111. <br>
  112. Definition lists are much simpler and less option-heavy than the bullet lists.  Basically it provides a sub-heading like "term" part (often rendered in bold), and then the definition of that text is indented.  You can have several terms and definitions in a definition lists, unlike the bullet lists which are more one-dimensional.
  113. <P>
  114. <B>Example:</B>
  115. <DL>
  116. <DT>This is term one
  117. <DD>Term one is the first in this list.
  118. <DT>This is term two
  119. <DD>Term two comes second in the list.
  120. </DL>
  121. <P>
  122.  
  123. <font color="#ff0000"><tt><DL></tt></font><br>
  124. <font color="#ff0000"><tt> <DT></tt></font>This is term one<br>
  125. <font color="#ff0000"><tt> <DD></tt></font>Term one is the first in this list.<br>
  126. <font color="#ff0000"><tt> <DT></tt></font>This is term two<br>
  127. <font color="#ff0000"><tt> <DD></tt></font>Term two comes second in this list.<br>
  128. <font color="#ff0000"><tt></DL></tt></font><br>
  129.  
  130.  
  131.  
  132. <hr>
  133. <a name="characters"><h3>Character entities</h3></a>
  134. Web browsers generally follow (or can be made to follow) something called the <a href="iso-1.html">ISO8850-1</a> character set, also known as "<a href="iso-1.html">Latin-1</a>"; this may be familiar to you, as it just happens to be the standard character set used by RiscOS!  This of course makes the job of checking that the font on your Acorn is the one that is used by the Web browser at the other end fairly simple, although there are no guarantees where the Internet is concerned of course.
  135. <P>
  136. Character entities can be entered in two ways; numerically, such as <tt>&#255;</tt>, or using special names such as <tt>&yuml;</tt> (both of which produce the same character, a lower-case "y" with umlauts above it).
  137. <P>
  138. To complicate matters, ISO8850-1 unfortunately doesn't define the full character set; the characters between 128 and 159 are undefined, which might not seem like a great loss until you notice that smart quotes are within this range.  Hence, you cannot use named entities for smart quotes and be certain that they will display properly - certain versions of Fresco displays these charcaters as small triagular brackets.  You can usually get away with using the numerical version, but it's not guaranteed so I usually suggest "dumbing down" smart quotes (that is, use ordinary straight quote marks instead of smart ones), and avoid other characters in this range if at all possible.<br>
  139. (<I>Note that there are other character standards which might be used to avoid all of this, but then you can't guarantee these character sets are supported either!</I>)
  140. <P>
  141. To make all of this as easy as possible, HTML³ has the following functions built in:
  142. <ul><li>character entities can be output in either <tt>numeric</tt> or <tt>textual</tt> versions (see the <a href="choic.html">Options</a> window)
  143.     <li><tt>&trade;</tt> doesn't seem to work as a numeric entity in some versions of Netscape, so it always comes out as the textual version...
  144.     <li>...but other characters in the range 128-159 always come out as numeric entities
  145.     <li>there's an option to add a reminder in plain English to show what the character is when you're editing the HTML (see the <a href="choic.html">Options</a> window)</ul>
  146. Hopefully this makes the use of characters as compatible as possible with as many browsers as possible.
  147. </ul></table></body></html>