File: table6.html

package info (click to toggle)
xmhtml 1.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,296 kB
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (40 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<HTML>
<BODY>
<TABLE BORDER=1>
	<CAPTION><b>A test table with merged cells</b></CAPTION>
	<TR bgcolor="red">
		<TH ROWSPAN=2 bgcolor="green">
		<TH COLSPAN=2 bgcolor="green" align=center>Average
		<TH ROWSPAN=2 align=center>other<BR>
			category
		<TH bgcolor="goldenrod" align=right>Misc
	<TR>
		<TH>height
		<TH>weight
	<TR>
		<TH ALIGN=LEFT>males
		<TD>1.9
		<TD>0.003
	<TR>
		<TH ALIGN=LEFT ROWSPAN=2>females
		<TD>1.7
		<TD>0.002
</TABLE>
<P>

This could appear as follows, in a text browser:
<PRE>
          A test table with merged cells
/--------------------------------------------------\ 
|          |      Average      |  other   |  Misc  |
|          |-------------------| category |--------|
|          |  height |  weight |          |        |
|-----------------------------------------|--------|
| males    |   1.9   |  0.003  |          |        |
|-----------------------------------------|--------|
| females  |   1.7   |  0.002  |          |        |
\--------------------------------------------------/
</PRE>

</BODY>
</HTML>