prev
next
HTML Tables
HTML tables are easy to build, but harder to style.
-
<table> - start a table
-
<th> - table heading
-
<tr> - table row
-
<td> - table data
-
<caption> - table caption
The example below shows a simple table, using default styling.
First Heading | Second Heading | Third Heading |
1.234 | 2.345 | -5.432 |
4 | 5 | -2 |
Table I - Table with Default Styling
This second table uses a style class from the lecture.css stylesheet.
First Heading |
Second Heading |
Third Heading |
1.234 | 2.345 | -5.432 |
4 | 5 | -2 |
Table II - Table with Stylesheet Styling
prev
next