Etext HomeGeneral InfoCollectionsServicesFeaturesStandardsContact UsQuestions?VIRGO

Tagging Tables

Guidelines for SGML Text Mark-up at the Electronic Text Center
David Seaman, Electronic Text Center, University of Virginia
[ornament]

The following, from the 1893 World's Fair, is an example of how to tag a table.

<p><table>
<row><cell>Buildings</cell><cell>Dimensions in feet.</cell><cell>Area in acres.</cell><cell>Cost.</cell></row>
<row><cell>Manufactures and Liberal Arts</cell><cell>787x1678</cell><cell>30.5</cell><cell>$1,500,000</row>
<row><cell>Administration</cell><cell>262x262</cell><cell>1.6</cell><cell>435,000</cell></row>
<row><cell>Mines</cell><cell>350x700</cell><cell>5.6</cell><cell>265,000</cell></row>
<row><cell>Electricity</cell><cell>345x690</cell><cell>5.5</cell><cell>401,000</cell></row>
<row><cell>Transportation</cell><cell>256x960</cell><cell>5.6</cell><cell></cell></row>
<row><cell>" Annex</cell><cell>425x900</cell><cell>8.8</cell><cell>870,000</cell></row>
<row><cell>Woman's</cell><cell>199x388</cell><cell>1.8</cell><cell>138,000</cell></row>
<row><cell>Art Galleries</cell><cell>320x500</cell><cell>3.7</cell><cell></cell></row>
<row><cell>Art Annexes (2)</cell><cell>120x200</cell><cell>1.1</cell><cell>670,000</cell></row>
<row><cell>Fisheries</cell><cell>165x365</cell><cell>1.4</cell><cell></cell></row>
<row><cell>" Annexes (2)</cell><cell>135 diam.</cell><cell>.8</cell><cell>224,000</cell></row>
<row><cell>Horticulture</cell><cell>250x998</cell><cell>5.7</cell><cell>300,000</cell></row>
<row><cell>" Greenhouses (8)</cell><cell>24x100</cell><cell>.5</cell><cell>25,000</cell></row>
<row><cell>Machinery</cell><cell>492x846</cell><cell>9.6</cell><cell></cell></row>
<row><cell>" Annex</cell><cell>490x550</cell><cell>6.2</cell><cell>1,200,000</cell></row>
<row><cell>" Powerhouse</cell><cell>100x461</cell><cell></cell><cell></cell></row>
<row><cell>" Pumping works</cell><cell>77x84</cell><cell></cell><cell></cell></row>
<row><cell>Machine-shop</cell><cell>146x250</cell><cell>2.1</cell><cell>85,000</cell></row>
<row><cell>Agriculture</cell><cell>500x800</cell><cell>9.2</cell><cell>618,000</cell></row>
<row><cell>Agriculture Annex</cell><cell>300x550</cell><cell>3.8</cell><cell>618,000</cell></row>
<row><cell>" Assembly Hall, etc.</cell><cell>125x450</cell><cell>1.3</cell><cell>100,000</cell></row>
<row><cell>Forestry</cell><cell>208x528</cell><cell>2.5</cell><cell>100,000</cell></row>
<row><cell>Sawmill</cell><cell>125x300</cell><cell>.9</cell><cell>35,000</cell></row>
<row><cell>Dairy</cell><cell>100x200</cell><cell>.5</cell><cell>30,000</cell></row>
<row><cell>Live stock (3)</cell><cell>65x200</cell><cell>.9</cell><cell></cell></row>
<row><cell>" Pavilion</cell><cell>280x440</cell><cell>2.8</cell><cell></cell></row>
<row><cell>" Sheds</cell><cell>......</cell><cell>40.0</cell><cell>335,000</cell></row>
<row><cell>Casino</cell><cell>120x250</cell><cell>.7</cell><cell></cell></row>
<row><cell>Music Hall</cell><cell>120x250</cell><cell>.7</cell><cell><note target="n1">*</note>210,000</note>210,000</cell></row>
<row><cell></cell><cell></cell><cell>153.8</cell><cell>$7,041,000</cell></row>
<row><cell>United States Government</cell><cell>345x415</cell><cell>3.3</cell><cell>400,000</cell></row>
<row><cell>" Imitation battleship</cell><cell>69.25x348</cell><cell>.3</cell><cell>100,000</cell></row>
<row><cell>Illinois State</cell><cell>160x450</cell><cell>1.7</cell><cell></cell></row>
<row><cell>" Wings (2)</cell><cell>......</cell><cell>.3</cell><cell>250,000</cell></row>
<row><cell>Totals..........</cell><cell>......</cell><cell>159.4</cell><cell>$7,791,000</cell></row>
</table>
</p>

To see what this encoding actually looks like when it becomes HTML, Click Here.



| Back | Next |