As we've seen, each cell in a table can be a Table Data cell (<TD>). Another option for each cell in a table is to be a Table Header cell (<TH>). Both elements work exactly the same as each other.
<TH align="align_value" rowspan="numer_of_rows" colspan="number_of_columns>
align = "left" or "center"
or "right" or "justify"
valign = "top" or "middle"
or "bottom"
rowspan = the number of Table Data
cells to merge down a row
colspan = the number of Table Data
cells to merge across a column
Table Headers follow exactly the same format as Table Data cells.
So, for example, if we want to add Table Headers to the Connecticut and Massachusetts cells, enter a separate Table Row above the Table Data cells and enter two separate Table Headers, as follows (note that we've deleted the state names inside the Table Data cell)...
<TR>
<TH align="center">Connecticut
<TH align="center">Massachusetts
<TR>
<TD align="center" valign="top">Roger Sherman<BR>Samuel
Huntington<BR>William Williams<BR>Oliver Wolcott
<TD align="center" valign="top">Samuel Adams<BR>John
Adams<BR>Robert Treat Paine<BR>Elbridge Gerry<BR>John Hancock
The above HTML creates the following table cells:
|
Connecticut |
Massachusetts |
|---|---|
| Roger Sherman Samuel Huntington William Williams Oliver Wolcott |
Samuel Adams John Adams Robert Treat Paine Elbridge Gerry John Hancock |
Just as you can merge Table Data cells to span multiple columns and rows, you can perform the same operation with Table Headers. So, for example, if you want to create a Table Header that spans multiple columns, you would specify the colspan attribute just as you specify colspan with the Table Data cell element (note that we've also set the TD Table Data cell alignment value to align="center"; and we removed the width="75%" attribute from the TABLE element):
<tr>
<th colspan="2" align="center">New Hampshire &
Rhode Island
<tr>
<td align="center" valign="top">Josiah Bartlett<br>William
Whipple<br>Matthew Thornton
<td align="center" valign="top" >Stephen Hopkins<br>William
Ellery
The above HTML creates the following table cells:
|
New Hampshire & Rhode Island | |
|---|---|
|
Josiah Bartlett |
Stephen Hopkins |
This site supplies information on the following topics, with extensive online information on each: CBT, computer based training, Computer-Based Training, WBT, Web-Based Training, web based training, E-Learning, e-learning, e learning, Coursebuilder Training, build online training, building online training, building on-line training, build on-line training, programming online training, programming on-line training, create internet training, create online course, create on-line course, creating online courses, creating on-line courses, create web course, build web training program, online course development, develop online training, develop on-line training, developing online courses, developing on-line courses, online training development, on-line training development, on-line course development, developer online courses, developer on-line courses, developer e-learning, developer CBT, developer Computer based Training, developer computer-based training, developer WBT, developer web based training, developer web-based training, developer coursebuilder, developer online training, developer on-line training, developer web course, designer online courses, designer on-line courses, designer e-learning, designer CBT, designer Computer based Training, designer computer-based training, designer WBT, designer web based training, designer web-based training, designer coursebuilder, designer online training, designer on-line training, designer web course.
CBT, computer based training, Computer-Based Training, WBT, Web-Based Training, web based training, E-Learning, e-learning, e learning, Coursebuilder Training, build online training, building online training, building on-line training, build on-line training, programming online training, programming on-line training, create internet training, create online course, create on-line course, creating online courses, creating on-line courses, create web course, build web training program, online course development, develop online training, develop on-line training, developing online courses, developing on-line courses, online training development, on-line training development, on-line course development, developer online courses, developer on-line courses, developer e-learning, developer CBT, developer Computer based Training, developer computer-based training, developer WBT, developer web based training, developer web-based training, developer coursebuilder, developer online training, developer on-line training, developer web course, designer online courses, designer on-line courses, designer e-learning, designer CBT, designer Computer based Training, designer computer-based training, designer WBT, designer web based training, designer web-based training, designer coursebuilder, designer online training, designer on-line training, designer web course
designer web course designer on line training designer online training designer coursebuilder designer web based training designer web based training designer WBT designer computer based training designer Computer based Training designer CBT designer e learning designer on line courses designer online courses developer web course developer on line training developer online training developer coursebuilder developer web based training developer web based training developer WBT developer computer based training developer Computer based Training developer CBT developer e learning developer on line courses developer online courses WBT Web Based Training web based training e learning e learning e learn programming online training programming on line training online course development online training development on line training development on line course development CBT computer based training Computer Based Train coursebuilder training building online training create internet training create online course create on line course creating online courses creating on line courses create web course develop online training develop on line training developing online courses developing on line courses build online training building on line training build on line training build web training program secondary navigation: index crawler General Education cbt computer-based training computer based training e-learning e learning wbt web-based training web based training index index WBT Web-Based Training web-based training Web Based Training web based training e Learning e learning e-Learning e-learning CBT Computer-Based Training computer-based training Computer Based Training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training computer based training e learning e learning e learning e learning e learning e learning e learning e learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning e-learning WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT WBT