home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 133 / dpcs0399.iso / INTERNET / COFFEE / HTMLED55 / SETUP.EXE / file0200.bin < prev    next >
Encoding:
Text File  |  1998-11-04  |  7.4 KB  |  107 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
  2.    "http://www.w3.org/TR/REC-html40/strict.dtd">
  3. <html lang=en-us>
  4. <head>
  5. <title>TFOOT - Table Foot</title>
  6. <link rev=Made href="mailto:liam@htmlhelp.com">
  7. <link rel=Start href="../index.html">
  8. <link rel=Glossary href="http://www.htmlhelp.com/glossary/glossary.html">
  9. <link rel=Copyright href="http://www.htmlhelp.com/copyright.html">
  10. <link rel=StyleSheet href="../style.css" type="text/css">
  11. <link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
  12. <meta name="author" content="Liam Quinn">
  13. <meta name="description" content="A description of HTML 4.0's TFOOT element for table feet.">
  14. <meta name="keywords" content="TFOOT, tfoot element, table foot, feet, footer, static, footers, footer cells, row group, row groups, table rows, grouping, table, tables, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG, <tfoot> tag, <TFOOT> tag">
  15. </head>
  16. <body>
  17. <h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
  18. <h1>TFOOT - Table Foot</h1>
  19. <table>
  20.   <tr valign=top>
  21.     <th>Syntax</th>
  22.     <td><strong class=required><TFOOT></strong>...</TFOOT></td>
  23.   </tr>
  24.   <tr valign=top>
  25.     <th>Attribute Specifications</th>
  26.     <td>
  27.       <ul>
  28.         <li>ALIGN=[ left | center | right | justify | chará] (horizontal alignment of cells in group)</li>
  29.         <li>CHAR=<var><a href="../values.html#character">Character</a></var> (alignment character for cells)</li>
  30.         <li>CHAROFF=<var><a href="../values.html#length">Length</a></var> (alignment character offset)</li>
  31.         <li>VALIGN=[ top | middle | bottom | baselineá] (vertical alignment of cells in group)</li>
  32.         <li><a href="../attrs.html">common attributes</a></li>
  33.       </ul>
  34.     </td>
  35.   </tr>
  36.   <tr valign=top>
  37.     <th>Contents</th>
  38.     <td>One or more <a href="tr.html">TR</a> elements</td>
  39.   </tr>
  40.   <tr valign=top>
  41.     <th>Contained in</th>
  42.     <td><a href="table.html">TABLE</a></td>
  43.   </tr>
  44. </table>
  45. <p>The <strong class=html>TFOOT</strong> element defines a <em>group of footer rows</em> in a table. A <strong class=html><a href="table.html">TABLE</a></strong> may have one <strong class=html>TFOOT</strong>, which must follow the optional <strong class=html><a href="thead.html">THEAD</a></strong> and precede the required <strong class=html><a href="tbody.html">TBODY</a></strong>.</p>
  46. <p>By explicitly grouping footer rows with <strong class=html>TFOOT</strong>, authors give browsers the ability to include the footer rows on each page of a printed, multi-page table, as well as the ability to present a long table with a scrolling body and static footer rows. However, few browsers currently support <strong class=html>TFOOT</strong>, and the requirement that it be placed before the <strong class=html>TBODY</strong> may make it unsuitable for non-supporting browsers. If the presentation of footer rows prior to body rows is not acceptable, authors should avoid using <strong class=html>TFOOT</strong> until browser support is greater.</p>
  47. <p>A table footer may provide a summary row or footnotes that apply to the entire table or portions of it. The following example uses <strong class=html>TFOOT</strong> to contain footnotes for a table:</p>
  48. <pre class=example><code class=html><TABLE SUMMARY="This table lists program available at the university
  49.                 based on the discipline and type of degree.">
  50.   <CAPTION>Programs Available</CAPTION>
  51.   <COLGROUP CLASS="program-discipline">
  52.   <COLGROUP CLASS="program-type" SPAN=5>
  53.   <THEAD>
  54.     <TR>
  55.       <TH SCOPE=col>Program</TH>
  56.       <TH SCOPE=col>Honors Co-op</TH>
  57.       <TH SCOPE=col>Honors Regular</TH>
  58.       <TH SCOPE=col>General Regular</TH>
  59.       <TH SCOPE=col>*Preprofessional or Professional</TH>
  60.     </TR>
  61.   </THEAD>
  62.   <strong><TFOOT CLASS=footnote></strong>
  63.     <TR>
  64.       <TD COLSPAN=5>
  65.           Many disciplines are also available as Minors and Joint
  66.           Honors programs.
  67.       </TD>
  68.     </TR>
  69.     <TR>
  70.       <TD COLSPAN=5>
  71.         * Preprofessional programs normally fulfull the academic
  72.           requirements for registration in the related professions.
  73.       </TD>
  74.     </TR>
  75.   <strong></TFOOT></strong>
  76.   <TBODY>
  77.     <TR>
  78.       <TD SCOPE=row>Computer Science</TD>
  79.       <TD>yes</TD>
  80.       <TD>yes</TD>
  81.       <TD>no</TD>
  82.       <TD>no</TD>
  83.     </TR>
  84.     <var>...</var>
  85.   </TBODY>
  86. </TABLE></code></pre>
  87. <p>In addition to the <a href="../attrs.html">attributes common to most elements</a>, <strong class=html>TFOOT</strong> takes presentational attributes for specifying the alignment of cell data. Since few browsers support <strong class=html>TFOOT</strong>, authors may wish to specify these attributes on the <strong class=html><a href="tr.html">TR</a></strong> or <strong class=html><a href="td.html">TD</a></strong> elements instead.</p>
  88. <p>The <strong class=html>ALIGN</strong> attribute specifies the horizontal alignment for each cell in the row group. Possible values are <strong class=html>left</strong>, <strong class=html>center</strong>, <strong class=html>right</strong>, <strong class=html>justify</strong>, and <strong class=html>char</strong>. <strong class=html>ALIGN=char</strong> aligns a cell's contents on the character given in the <strong class=html>CHAR</strong> attribute. The default value for the <strong class=html>CHAR</strong> attribute is the decimal point of the current language--a period in English. The <strong class=html>CHAROFF</strong> attribute specifies the offset to the first occurrence of the alignment character. The attribute's value is a number in pixels or a percentage of the cell's width; <strong class=html>CHAROFF="50%"</strong> centers the alignment character horizontally in a cell.</p>
  89. <p>The <strong class=html>VALIGN</strong> attribute specifies the vertical position of a cell's contents. Possible values are:</p>
  90. <ul>
  91.   <li><strong class=html>top</strong>, which positions data at the top of the cell;
  92.   <li><strong class=html>middle</strong>, the default value, which centers the cell data vertically;
  93.   <li><strong class=html>bottom</strong>, which positions data at the bottom of the cell;
  94.   <li><strong class=html>baseline</strong>, which specifies that the first line of each cell in the row with <strong class=html>ALIGN=baseline</strong> should occur on a common baseline.</li>
  95. </ul>
  96. <h2>More Information</h2>
  97. <ul>
  98.   <li><a href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TFOOT">TFOOT in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá4.0 Recommendation</a></li>
  99. </ul>
  100. <div class=footer>
  101. <address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>
  102. <p class=toolbar><a href="http://www.htmlhelp.com/"><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"></a> <a href="../index.html" rel=Start>HTMLá4.0áReference</a>á~ <a href="../olist.html">ElementsábyáFunction</a>á~ <a href="../alist.html">ElementsáAlphabetically</a></p>
  103. <p class=copyright><a href="http://www.htmlhelp.com/copyright.html">Copyright ⌐</a> 1998 Liam Quinn. All rights reserved.</p>
  104. </div>
  105. </body>
  106. </html>
  107.