A table is an arrangement of data in rows and columns, or possibly in
a more complex structure. Tables are widely used
in communication, research, and data analysis. Tables appear in print
media, handwritten notes, computer software, architectural
ornamentation, traffic signs, and many other places.
A table is an arrangement of information
in rows and columns containing cells that make
comparing and contrasting information easier.
An HTML table is defined with the <table> tag.
Each table row is defined with the <tr> tag. A table header
is defined with the <th> tag. By default, table headings are
bold and centered. A table data/cell is defined with
the <td> tag
A List of Tables is a reference tool that allows your readers to
quickly and easily navigate to data in your thesis or
dissertation. Construction of the list is similar to creating a Table of
Contents.
•Appropriately formatted.
•Lists all tables in the document except those listed in any
Appendices.
•All titles match what appears in the text exactly.
•All page numbers are correct.
Any document starts with a heading. You can use
different sizes for your headings. HTML also has
six levels of headings, which use the
elements <h1>, <h2>, <h3>, <h4>,
<h5>, and <h6>. While displaying any heading,
browser adds one line before and one line after
that heading.
<html>
<head>
<style>
<table border=2>
</head>
<body>
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
</body>
</html>
Month Salary
January 19000
Fabruary 10000
Table Attribute List
Define Table: <TABLE></TABLE>
Columns to Span: <TH COLSPAN=?>
Rows to Span: <TH ROWSP=?>
Cell Color: <TH BGCOLOR="#$$$$$$">
Table Caption: <CAPTION></CAPTION>
Alignment: <CAPTION ALIGN=TOP|BOTTOM>
Table Border: <TABLE BORDER=?></TABLE>
Cell Spacing: <TABLE CELLSPACING=?>
Cell Padding: <TABLE CELLPADDING=?>
Table Row: <TR></TR>
Table tags are used for displaying spread
sheet-like data neatly formatted in rows and
columns. They can also be used to design page
layouts by placing content into invisible rows
and columns of a 'table'.
.
<html>
<head>
table border=1
</head>
<body>
<table style="width:100%">
<tr>
<th>First name</th>
<th>Last name</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
</tr>
</table>
</body>
</html>
First Name Last Name
Jill Smith
Eve Jackson
John Doe
Out put
HTML Tables

HTML Tables

  • 2.
    A table isan arrangement of data in rows and columns, or possibly in a more complex structure. Tables are widely used in communication, research, and data analysis. Tables appear in print media, handwritten notes, computer software, architectural ornamentation, traffic signs, and many other places.
  • 3.
    A table isan arrangement of information in rows and columns containing cells that make comparing and contrasting information easier. An HTML table is defined with the <table> tag. Each table row is defined with the <tr> tag. A table header is defined with the <th> tag. By default, table headings are bold and centered. A table data/cell is defined with the <td> tag
  • 4.
    A List ofTables is a reference tool that allows your readers to quickly and easily navigate to data in your thesis or dissertation. Construction of the list is similar to creating a Table of Contents. •Appropriately formatted. •Lists all tables in the document except those listed in any Appendices. •All titles match what appears in the text exactly. •All page numbers are correct.
  • 5.
    Any document startswith a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading.
  • 6.
  • 7.
    Table Attribute List DefineTable: <TABLE></TABLE> Columns to Span: <TH COLSPAN=?> Rows to Span: <TH ROWSP=?> Cell Color: <TH BGCOLOR="#$$$$$$"> Table Caption: <CAPTION></CAPTION> Alignment: <CAPTION ALIGN=TOP|BOTTOM> Table Border: <TABLE BORDER=?></TABLE> Cell Spacing: <TABLE CELLSPACING=?> Cell Padding: <TABLE CELLPADDING=?> Table Row: <TR></TR>
  • 8.
    Table tags areused for displaying spread sheet-like data neatly formatted in rows and columns. They can also be used to design page layouts by placing content into invisible rows and columns of a 'table'. .
  • 9.
    <html> <head> table border=1 </head> <body> <table style="width:100%"> <tr> <th>Firstname</th> <th>Last name</th> </tr> <tr> <td>Jill</td> <td>Smith</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> </tr> <tr> <td>John</td> <td>Doe</td> </tr> </table> </body> </html> First Name Last Name Jill Smith Eve Jackson John Doe Out put