Software applications Modern software applications give users the ability to generate, format, and edit tables and tabular data for a wide variety of uses, such as in:
word processing and
spreadsheet applications,
presentation software, and in
HTML or another
markup language.
HTML Table cells are a key
component in
HTML and
webpage building. It is part of the component. A programmer may specify dimensions for a table cell, and use them to hold sections of webpages. A table cell in HTML is a non-empty element and is supposed to always be closed. There are two different kinds of table cell in HTML, namely: normal table cell and header cell.
<td> denotes a table cell, the name implying 'data', while
<th> denotes a table 'header'. The two can be used interchangeably, but it is recommended that header cell be only used for the top and side headers of a table. Furthermore, a table cell must be nested within a
<table> tag
and a
<tr> (table row) tag. If there are more table cell tags in any given row than in any other, the particular
<tr> must be given a attribute declaring how many columns of cells wide it should be. By using the
rowspan and
colspan attributes, developers can combine multiple rows or columns, allowing them to design more complex and visually structured tables. The following table illustrates usage of colspan and rowpan: The following is an example of an HTML table containing 4 cells: HTML source: Cell 1 Cell 2 Cell 3 Cell 4
Software development Tables have uses in software development for both high-level specification and low-level implementation. Usage in software specification can encompass ad hoc inclusion of simple
decision tables in textual documents through to the use of tabular specification methodologies, examples of which include Software Cost Reduction and Statestep. Proponents of tabular techniques, among whom
David Parnas is prominent, emphasize their understandability, as well as the quality and cost advantages of a format allowing systematic inspection, while corresponding shortcomings experienced with a graphical notation were cited in motivating the development of at least two tabular approaches. At a programming level, software may be implemented using constructs generally represented or understood as tabular, whether to store data (perhaps to
memoize earlier results), for example, in
arrays or
hash tables, or
control tables determining the flow of program execution in response to various events or inputs.
Databases Database systems often store data in structures called tables; in which
columns are data fields and
rows represent data records. ==Other uses==