<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
  <head>
    <title>&lt;title&gt;</title>
  </head>

  <body bgcolor="white" text="black" link="blue" vlink="darkblue">

    <table border="0" width="100%">
      <tr>
        <td align="left" width="33%">
          <a href="td.html">Previous Tag: &lt;td&gt;</a>
        </td>
        <td align="center" width="33%">
          <a href="index.html">Index</a>
        </td>
        <td width="33%" align="right">
          <a href="titlebox.html">Next Tag: &lt;titlebox&gt;</a>
        </td>
      </tr>
    </table
    <br>
    <br>
    <hr width="100%" noshade>
    <br>

    <h2 align="center">&lt;title&gt;</h2>

<pre>
&lt;title&gt; is used to centre text.

For example:

&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;title title="Programming Precept"/&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

In this example, "Programming Precept" will be centred in the only
cell of this table.

As another example:

&lt;slide title="C++ Objects"&gt;
  &lt;title/&gt;
&lt;/slide&gt;

In this example, "C++ Objects" would be centred at the top of the
slide using the default font colour & size.

As you can see, if the "title" tag isn't defined within the
&lt;title&gt;, it will be searched for up the XML tree. In the above
example, the "title" property value was found in the &lt;slide&gt;
object.
</pre>

<b>Properties:</b>
<ul>
  <li>
    <i>title</i>: text to centre on the slide. Usually this property
    is defined in the &lt;slide&gt; tag and is inherited by this
    object.
  </li>
  <li>
    See <a href="font.html">&lt;font&gt;</a> for more properties.
  </li>
  <li>
    <i>titlecolor/titlecolour</i>,
    <i>titleface</i>,
    <i>titlesize</i>: Same as color, face, and size, except the
    properties won't automatically be inherited by child font tags.
    They exist to keep only slide titles consistent.

    For example:

    <pre>
    &lt;slideshow titleface="Times New Roman"
               titlesize="16pt"
               size="12pt"&gt;
      &lt;slide title="C++ Operators"&gt;
        &lt;title/&gt;
      &lt;/slide&gt;
      &lt;slide title="C++ Keywords"&gt;
        &lt;title/&gt;
      &lt;/slide&gt;
    &lt;/slideshow&gt;
    </pre>
  </li>
</ul>

  </body>
</html>
